Release Notes (2.0.x)
2.0.0
Pekko Connectors 2.0.0 requires Pekko 2.0.x and Pekko HTTP 2.0.x, which are not binary compatible with their 1.x releases. Recompile your code against the 2.x libraries. Libraries built against Pekko Connectors 1.x need to be rebuilt and released for Pekko Connectors 2.x.
Some defaults and behaviors have changed, and deprecated APIs have been removed. See the migration guide.
Release notes for Apache Pekko Connectors 2.0.0. This is the first release of a new major version and includes the changes from the 2.0.0-M1 milestone release. See the GitHub milestones for 2.0.0-M1 and 2.0.0-M2 for a fuller list of changes.
Read the migration guide before upgrading. It lists the API, behavior and configuration changes, including the changed default values.
Changes that were also released in Pekko Connectors 1.3.0 are listed in the 1.3 release notes.
Known Issues
With the OrientDB connector, it appears that the latest OrientDB client only works with OrientDB 3.2 servers. If you use an older version of OrientDB, you may be better off sticking with Pekko Connectors 1.x (PR361).
Main changes
- Pekko 2.0.0, Pekko HTTP 2.0.1 and Pekko gRPC 2.0.0 are the new minimum versions
- Java 17 is the new minimum Java version
- Scala 2.12 is no longer supported (PR1197)
- Deprecated code removed (PR1164, PR1187, PR1730, PR1731, PR1748)
- The IronMQ connector has been removed, because it could no longer be tested (PR1898)
- The Java DSLs no longer expose Scala futures and functions in a number of connectors, most notably Couchbase3 (PR1526, PR1527, PR1528)
- Java DSL APIs use
pekko.japi.functioninterfaces instead of the deprecatedpekko.japiones (PR1132) - The MongoDB connector is available for Scala 3 (PR1649)
- Solr: the connector uses SolrJ 9 (PR1813)
- HBase: the connector uses the HBase 2.6 client, and its tests run again (PR1895, PR1919)
- OrientDB: the connector was rewritten to avoid a number of deprecated classes (PR1553)
- Elasticsearch: credentials are only sent over
httpsby default (PR1810, PR1871) - Kudu: the default
encryptionPolicyisREQUIRED_REMOTE(PR1818) - AWS SPI Pekko HTTP: the HTTP options of the AWS SDK are applied by default (PR1909)
- protobuf-java 4.x (up from 3.25.x), with the gRPC code generated by Pekko gRPC 2.0 (PR1662, PR1759, PR2091)
Additions
- Elasticsearch:
ApiVersion.V8andApiVersion.V9for Elasticsearch 8 and 9 (PR1934) - Opensearch: tested against Opensearch 2.x and 3.x (PR1933)
- Google Common:
google-application-defaultcredentials provider, which uses Google’sgoogle-auth-library-javaand supports GKE Workload Identity (PR1494) - Google Common:
project-idanddefault-project-idsettings (PR1926) - Google Common:
Credentials.close()to release OAuth2 credentials (PR1927) - Google Cloud Pub/Sub gRPC:
subscribeoverloads that reconnect aStreamingPullwithRestartSettings, and flow control (PR1494) - Google Cloud BigQuery Storage:
arrowAllocatorBytessetting (PR1816) - S3:
signing.path-encoded-characterssetting for S3-compatible services, such as Huawei OBS and Tencent COS (PR1971) - File: zip compression level for
Archive.zip(PR1829, PR1873) - CSV:
mitigateFormulaInjectionoption forCsvFormatting.format(PR1820) - XML: context-aware parser
XmlParsing.parserWithContext(PR1595) - MQTT v5: Java getters for the message and settings classes (PR1486)
- Google Common and Huawei Push Kit:
min-tls-versionsetting for the forward proxy (PR1808, PR1870)
Java DSL improvements
These changes add Java friendly alternatives (java.util collections, Optional, java.time.Duration, CompletionStage and java.util.function interfaces) to APIs that exposed Scala types, and widen the generic parameter types. See #2043.
- AMQP: settings, model and RPC flow (PR2050)
- AWS EventBridge:
EventBridgePublisher.flowList, deprecating the brokenflowSeq(PR2046) - AWS S3 (PR2060)
- AWS SQS and Kinesis (PR2059)
- Cassandra: session settings, session and provider (PR2051)
- Couchbase and Couchbase3 (PR2052)
- Elasticsearch, Solr, MongoDB, OrientDB, InfluxDB and Slick (PR2055)
- File, FTP, Unix Domain Socket, UDP, Server-sent Events, XML and Text (PR2056)
- Google Common:
ForwardProxy.createwith anHttpsConnectionContext(PR2047) - Google Common, BigQuery, BigQuery Storage, Pub/Sub, Pub/Sub gRPC, Storage and FCM (PR2061)
- HBase, HDFS and Kudu: settings and rotation strategy (PR2054)
- Huawei Push Kit, Azure Storage Queue and Reference (PR2057)
- JMS and Jakarta Messaging (PR2053)
- MQTT, MQTT v5 and MQTT Streaming (PR2058)
- Slick:
flowWithPassThroughoverloads that take ajava.util.concurrent.Executor(PR1527, PR1535)
Bug Fixes
- AMQP: preserve each message’s result in ordered confirmation flows (PR2018)
- AMQP: fix busy-wait and closed-connection reuse in
AmqpCachedConnectionProvider(PR2063) - AWS S3: fix multipart upload signature mismatch with recent AWS SDK releases (PR1544)
- AWS S3: release disk-buffered chunks when the upload is done with them (PR1930)
- AWS SPI Pekko HTTP: preserve the
Content-Lengthof the SDK request, to avoid chunked encoding breaking SigV4 signing (PR1546) - AWS SPI Pekko HTTP: preserve content-type parameters (PR1905)
- AWS SPI Pekko HTTP: accept multi-value request headers instead of throwing (PR1906)
- AWS SPI Pekko HTTP: send request bodies for GET and DELETE instead of dropping them (PR1907)
- AWS SPI Pekko HTTP: validate
Content-Lengthheader values (PR1908, PR2118) - AWS SPI Pekko HTTP: make
close()non-throwing and give auto-created actor systems unique names (PR1904) - Elasticsearch: escape names used in JSON requests (PR1817)
- File: open zip archives in
preStartrather than the stage constructor (PR1929) - File and FTP: reject path traversal in archive entry names and FTP paths (PR1807)
- Google Cloud BigQuery: fix
InsertAllRetryPolicy.withoutDeduplication(PR2044) - Google Cloud BigQuery Storage: close the row reader in
readRecordsMerged(PR1816) - Google Cloud Pub/Sub gRPC:
subscribemust not echo initial-onlyStreamingPullRequestfields on keepalive ticks (PR1625) - Google Common: close the credentials file when parsing it fails (PR1928)
- Google FCM: fix the
LightSettings.light_off_durationsetter (PR2045) - HBase: close the scanner and connection in the source stage (PR1876)
- HDFS: close the writer when the stream does not complete normally (PR1878)
- Huawei Push Kit: use
expires_infrom the token response (PR1812) - MQTT Streaming: fix QoS encoding when subscribing and
UNSUBACKdecoding (PR1594) - MQTT Streaming: propagate command failures to the Java completion stage (PR2048, PR2119)
- OrientDB: validate the class name used in queries (PR1821, PR1874)
- Pravega: release the key value table factory when the table is unset (PR1877)
- Unix Domain Socket: fix large transfers stalling after lost readiness events (PR1880)
- XML: fail the parser stage on
XMLStreamException(PR2015) - Mask sensitive values in the
toStringof settings and credentials classes (PR1809) - Google Common and Huawei Push Kit: create the forward proxy
SSLContextwith theTLSprotocol (PR1808)
Performance
- InfluxDB and HDFS: use
VarHandleandMethodHandleinstead of reflection (PR1752) - Use placeholder-based logging instead of string interpolation (PR1653, PR1940)
Dependency Changes
Most dependencies have been upgraded to a recent version (November 2026). Java 17 as the minimum Java version made it possible to upgrade dependencies that no longer support Java 8 or 11. Notable upgrades include:
- Pekko 2.0.0
- Pekko HTTP 2.0.1
- Pekko gRPC 2.0.0
- Amazon SDK 2.59.10
- Apache Arrow 20.0.0
- Apache Avro 1.12.2
- Apache Geode 2.0.4
- Apache Hadoop 3.4.3
- HBase client 2.6.7
- Jackson 2.22.3
- Netty 4.2.21
- protobuf-java 4.36.2
- Slick 3.6.1
- SolrJ 9.11.0
- Spring Framework 7.1.0 and Spring Boot 4.2.0