Class and Description |
---|
org.apache.kafka.common.KafkaFuture.Function
Since Kafka 3.0. Use the
KafkaFuture.BaseFunction functional interface. |
Exceptions and Description |
---|
org.apache.kafka.common.errors.NotLeaderForPartitionException
since 2.6. Use
NotLeaderOrFollowerException . |
Field and Description |
---|
org.apache.kafka.common.config.TopicConfig.MESSAGE_FORMAT_VERSION_CONFIG
since 3.0, removal planned in 4.0. The default value for this config is appropriate
for most situations.
|
org.apache.kafka.common.config.TopicConfig.MESSAGE_FORMAT_VERSION_DOC
since 3.0, removal planned in 4.0. The default value for this config is appropriate
for most situations.
|
org.apache.kafka.clients.consumer.ConsumerRecord.NULL_CHECKSUM
checksums are no longer exposed by this class, this constant will be removed in Apache Kafka 4.0
(deprecated since 3.0).
|
Constructor and Description |
---|
org.apache.kafka.clients.consumer.ConsumerRecord(String, int, long, long, TimestampType, long, int, int, K, V)
use one of the constructors without a `checksum` parameter. This constructor will be removed in
Apache Kafka 4.0 (deprecated since 3.0).
|
org.apache.kafka.clients.consumer.ConsumerRecord(String, int, long, long, TimestampType, Long, int, int, K, V, Headers)
use one of the constructors without a `checksum` parameter. This constructor will be removed in
Apache Kafka 4.0 (deprecated since 3.0).
|
org.apache.kafka.clients.consumer.ConsumerRecord(String, int, long, long, TimestampType, Long, int, int, K, V, Headers, Optional<Integer>)
use one of the constructors without a `checksum` parameter. This constructor will be removed in
Apache Kafka 4.0 (deprecated since 3.0).
|
org.apache.kafka.common.metrics.JmxReporter(String)
Since 2.6.0. Use
JmxReporter()
Initialize JmxReporter with JmxReporter.contextChange(MetricsContext)
Populate prefix by adding _namespace/prefix key value pair to MetricsContext |
org.apache.kafka.clients.producer.RecordMetadata(TopicPartition, long, long, long, Long, int, int)
use constructor without `checksum` parameter. This constructor will be removed in
Apache Kafka 4.0 (deprecated since 3.0).
|