v2023.01.05
This release cooperates with librdkafka v1.9.2
-
Namespace changes
kafka::clients::producer::KafkaProducer(instead ofkafka::clients::KafkaProducer)kafka::clients::consumer::KafkaConsumer(instead ofkafka::clients::KafkaConsumer)kafka::clients::admin::AdminClient(instead ofkafka::clients::AdminClient)
-
Legacy interface removed
- No
setLogger(...)/setErrorCallback(...)/setStatsCallback(...)/setOauthbearerTokenRefreshCallback(...)any more. - No
EventsPollingOptionparameter for Kafka client initialization. - No
Interceptorparameter for Kafka client initialization.
- No
-
New
Properties- It contains all configuration info to initialize a Kafka client. The property value type could be
std::string: Most are from librdkafka configuration.std::function<...>: Callbacks forlog_cb,error_cb,stats_cboroauthbearer_token_refresh_cb.Interceptors
- New configuration property:
enable.manual.events.poll.
- It contains all configuration info to initialize a Kafka client. The property value type could be
-
Default behavior changed
enable.auto.commit=trueforKafkaConsumerby default