Package org.apache.camel.component.kafka
Class KafkaConstants
java.lang.Object
org.apache.camel.component.kafka.KafkaConstants
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
Deprecated.static final String
static final String
static final String
static final String
Deprecated.static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Method Summary
-
Field Details
-
PARTITION_KEY
@Metadata(label="producer", description="Explicitly specify the partition", javaType="Integer") public static final String PARTITION_KEY- See Also:
-
PARTITION
@Metadata(label="consumer", description="The partition where the message was stored", javaType="Integer") public static final String PARTITION- See Also:
-
KEY
@Metadata(description="*Producer:* The key of the message in order to ensure that all related message goes in the same partition. *Consumer:* The key of the message if configured", javaType="Object", required=true) public static final String KEY- See Also:
-
TOPIC
@Metadata(label="consumer", description="The topic from where the message originated", javaType="String") public static final String TOPIC- See Also:
-
OVERRIDE_TOPIC
@Metadata(label="producer", description="The topic to which send the message (override and takes precedence), and the header is not preserved.", javaType="String") public static final String OVERRIDE_TOPIC- See Also:
-
OFFSET
@Metadata(label="consumer", description="The offset of the message", javaType="Long") public static final String OFFSET- See Also:
-
HEADERS
@Metadata(label="consumer", description="The record headers", javaType="org.apache.kafka.common.header.Headers") public static final String HEADERS- See Also:
-
LAST_RECORD_BEFORE_COMMIT
@Metadata(label="consumer", description="Whether or not it\'s the last record before commit (only available if `autoCommitEnable` endpoint parameter is `false`)", javaType="Boolean") public static final String LAST_RECORD_BEFORE_COMMIT- See Also:
-
LAST_POLL_RECORD
@Metadata(label="consumer", description="Indicates the last record within the current poll request (only available if `autoCommitEnable` endpoint parameter is `false` or `allowManualCommit` is `true`)", javaType="Boolean") public static final String LAST_POLL_RECORD- See Also:
-
TIMESTAMP
@Metadata(label="consumer", description="The timestamp of the message", javaType="Long") public static final String TIMESTAMP- See Also:
-
OVERRIDE_TIMESTAMP
@Metadata(label="producer", description="The ProducerRecord also has an associated timestamp. If the user did provide a timestamp, the producer will stamp the record with the provided timestamp and the header is not preserved.", javaType="Long") public static final String OVERRIDE_TIMESTAMP- See Also:
-
KAFKA_DEFAULT_ENCODER
Deprecated.- See Also:
-
KAFKA_STRING_ENCODER
Deprecated.- See Also:
-
KAFKA_DEFAULT_SERIALIZER
- See Also:
-
KAFKA_DEFAULT_DESERIALIZER
- See Also:
-
KAFKA_DEFAULT_PARTITIONER
- See Also:
-
PARTITIONER_RANGE_ASSIGNOR
- See Also:
-
KAFKA_RECORDMETA
@Metadata(label="producer", description="The metadata (only configured if `recordMetadata` endpoint parameter is `true`)", javaType="List<RecordMetadata>") public static final String KAFKA_RECORDMETA- See Also:
-
MANUAL_COMMIT
@Metadata(label="consumer", description="Can be used for forcing manual offset commit when using Kafka consumer.", javaType="org.apache.camel.component.kafka.consumer.KafkaManualCommit") public static final String MANUAL_COMMIT- See Also:
-