DanielLeens opened a new pull request, #13529: URL: https://github.com/apache/seatunnel/pull/13529
Yes, this contributes to Apache SeaTunnel. ### Purpose Add an Apache Solr Sink through the documented core/collection HTTP APIs. Related historical requests are #1946 and #3018. The older 2022 contributor interest recorded in the closed tracker is preserved; no current implementation or active same-purpose PR was found. ### Changes Add the isolated HTTP product artifact and dedicated E2E module, generated Sink Factory SPI, reactor/dist/installer/mapping registrations and English/Chinese docs. The connector reuses existing HTTP/HttpCore, shaded Jackson and common dependencies without SolrJ, new root versions or shared runtime changes. Mapped INSERT and UPDATE_AFTER rows perform ordered full replacement in an existing core/collection with a verifiable unique key. DELETE by exact ID requires an explicit option; UPDATE_BEFORE fails. Typed scalar/array/null values, Unicode, numeric precision, temporal and byte mappings are documented. Count/document/batch byte limits bound buffering, and empty input makes no network request. HARD (default), SOFT and NONE commit modes apply at final/checkpoint preparation or Zeta flush signals. No broad rollback, schema mutation, optimize, atomic increment or delete-by-query is generated. The request path requires verified HTTPS unless explicit cleartext opt-in is used; masked Basic auth, sanitized diagnostics, bounded headers/body/deadline, no redirects and no automatic transport replay remain local to the connector. Partial or ambiguous delivery fails the writer. ### Coverage authored Twelve real-engine E2E methods query an actual Solr 9.8.1 core for persisted typed values, mapping, replacement/deletion order and unrelated-ID preservation, commit visibility/modes and partial real Solr type errors. A forwarding fault proxy covers HTTP-200 document errors, applied-then-disconnected updates, malformed/oversized replies, redirects, Basic auth/TLS, held/trickling deadlines, cancellation and checkpoint/savepoint behavior. Actual exact records are asserted rather than treating HTTP success as stored data. ### Validation and limits Scoped Spotless apply/check and static Java/Python/XML, registration, option/docs, exact-file and new-file whitespace checks passed. Compilation, generated SPI, packaging and all test execution are **pending GitHub CI**; no local build/test/container/service/fixture/job ran. The suite exercises a real standalone core through HTTP. Direct ZooKeeper discovery and Kerberos are outside this contract. A commit can expose other writers' updates, and Solr is not part of an engine checkpoint transaction. An uncertain write may already have applied; operator/engine replay can duplicate or reissue work. Source/cluster scale and other live deployments remain unverified. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
