Data Ingestion and Replication
- Data Ingestion and Replication
- All Products
Property
| Description
|
---|---|
Connection
| Name of the Kafka source connection.
|
Connection Type
| The Kafka connection type.
The connection type populates automatically based on the connection that you select.
|
Topic
| Kafka source topic name or a Java supported regular expression for the Kafka source topic name pattern to read the events from.
You can either enter the topic name manually or fetch the metadata of the Kafka connection. To select the metadata of the Kafka connection perform the following actions:
When you add a new Kafka source topic to a
streaming ingestion job that is in
Up and Running state, redeploy the job immediately to avoid data loss from the new topics.
|
Property
| Description
|
---|---|
group.id
| Specifies the name of the consumer group the Kafka consumer belongs to. If
group.id doesn't exist when you construct the Kafka consumer, the task creates the consumer group automatically. This property is auto-generated. You can override this property. Default is
key1=value1 ,
key2=value2 .
|
auto.offset.reset
| Specifies the behavior of the consumer when there is no committed position or when an offset is out of range.
You can use the following types of auto offset reset:
When you read data from a Kafka topic or use a topic pattern and the offset of the last checkpoint is deleted during message recovery, provide the following property to recover the messages from the next available offset:
auto.offset.reset=earliest
Otherwise, the
streaming ingestion task reads data from the latest offset available.
|
message-demarcator
| Kafka source receives messages in batches. You can contain all Kafka messages in a single batch for a given topic and partition. This property allows you to provide a string to use as a demarcation for multiple Kafka messages. If you don't provide a value, each Kafka message is triggered as a single event.
You can use the following delimiters as demarcators:
|
max.poll.records
| Specifies the maximum number of records returned in a single call to poll.
For example, max.poll.records=100000
|