Changelog

All notable changes to this connector will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

1.4.0 - 2026-10-19

Upgrade notes

  • The connectors now require Java 17 or newer (Jetty 12).
  • Failed requests now report the original HTTP status code instead of a synthetic 404. If 404 is configured as an HTTP code to be repeated, review that setting.

Added

  • Added max.inflight to limit the number of concurrent requests to SAP.
  • Added cross-compilation support for Scala 3 to prepare compatibility with future Kafka versions.

Changed

  • Configuration validation is faster for connector instances with many connections.
  • Updated Jetty to 12.0. Requires Java 17 or newer.
  • Updated Apache Olingo to 3.0.0-1 (INIT build).
  • Authentication failures now report the HTTP status code the service returned (e.g. 401, 403) instead of a generic 404, with a clearer error message.
  • If a next-link request fails with 400 or 404, the connector now retries it using the next link resolved against the configured service root.
  • Retry handling and retry log messages are now consistent across all connectors. Retry log messages always include the exception type and message and no longer start with the class name. If you filter or alert on log patterns, check them.

Fixed

  • The Prefer: odata.track-changes header is now only sent, and Preference-Applied only checked, on the initial request. Next-link and delta-link requests no longer carry it, in line with the OData specification.
  • Connector properties that use a config provider (e.g. ${file:…}, ${vault:…}) are no longer re-resolved on every poll/put, which reduces load on the secret store.
  • The sink connector now rejects values that violate the property’s facets (e.g. MaxLength, Precision, Scale) with a descriptive DataException. The source connector tolerates facet violations.

1.3.6 - 2025-04-01

Added

  • Added sap.odata.batch.commit.mode for sink connector
  • Added support for cron-like scheduling in source connector via configurations sap.odata#00.cron.expression and sap.odata#00.cron.security.time.sec
  • Added support for custom HTTP headers via sink connector configuration sap.odata.custom.http.headers
  • Added sap.odata.headers.enable configuration to write metadata information in kafka message headers, if activated
  • Added sap.odata#00.null-messages configuration to write empty delta records for source connector
  • Support for Connect plugin discovery KIP-898

Changed

  • Processing logic in sink connector simplified
  • Next link logging in source connector expanded
  • Delta link recovery after paging improved
  • Improved await logic in sink connector to prevent infinite loops

Fixed

  • Bugfix in source task for connector.context to display correct task context in logs
  • Bugfix recommendations for query filter field names

1.3.5 - 2024-03-05

Added

  • Added support for OAuth client credentials flow
  • Connector specific JMX metrics
  • Added fast-forward delta links

Changed

  • Increased the number of filter limits from 5 to 20 for delta selection and full selection ranges
  • Increased maximal number of connections per connector instance to 20 across all build environments
  • Increased logging for the next link process in source connector

Fixed

  • Bugfix in delta link recovery in case of connection timeouts

1.3.4 - 2023-06-07

Added

  • Added configuration to set the http codes to be repeated
  • Enhanced logs using MDC

Changed

  • Added delta link recovery in case of missing delta links with track-changes and server side paging
  • Increased default values for HTTP timeouts
  • Increased responsiveness of connector task when being stopped during retry

Fixed

  • Bugfixes in data type transformation logic for complex structures
  • Bugfix in API logic for url encode key predicates in Updates and Deletes
  • Bugfix in expand configuration parameter validation
  • Bugfix in expands with several levels

1.3.3 - 2022-04-14

Added

  • Added encrypted communication using configurable custom KeyStore and TrustStore

Changed

  • Package name changed from org.init.ohja.kafka.connect.<CONNECTOR_TYPE>.odata to org.init.ohja.kafka.connect.odatav2.<CONNECTOR_TYPE>

Fixed

  • Bugfix in CLI App
  • Bugfix in delta link URI if change tracking is set to true and custom query parameters are used
  • Bugfix in retry mechanism that fixes issue with same response being returned when request is retried
  • Bugfix in conversion enables connector to extract fields of type EdmDateTimeOffset with the accuracy of nanoseconds (nanoseconds are truncated during conversion)

1.3.2 - 2021-05-12

Added

  • Enable sink connector to use DLQ (Connect version >= 2.6)
  • Dynamic operation mode based on a record property for sink connector
  • Connector expand parameter for nested/deep structures in source connector
  • Deep inserts for sink connector
  • Support for SAP OData v2 subscriptions for push based scenarios
  • Deleted entities in delta links and subscription events for source connector
  • Connector parameters for http connection timeouts
  • Connector parameter for custom OData URL query parameters

Changed

  • Source connector property exec-period allows for -1 in case no recurring polls should be executed
  • Sink connector delivers records in time intervals
  • Improved handling of connection based failures in sink connector
  • Refactored URI-handling

Fixed

  • Bugfix in german Umlauts handling for sink connector
  • Bugfix in offset recovery for source connector
  • Bugfix with pure time values in OData data type converter

1.3.1 - 2021-01-11

Added

  • First public release of the OData v2 connectors
  • Connector versions equal the OhJa version being used