public static interface KafkaEndpointBuilderFactory.KafkaBuilders
| Modifier and Type | Method and Description |
|---|---|
default KafkaEndpointBuilderFactory.KafkaEndpointBuilder |
kafka(String path)
Kafka (camel-kafka)
Sent and receive messages to/from an Apache Kafka broker.
|
default KafkaEndpointBuilderFactory.KafkaEndpointBuilder |
kafka(String componentName,
String path)
Kafka (camel-kafka)
Sent and receive messages to/from an Apache Kafka broker.
|
default KafkaEndpointBuilderFactory.KafkaEndpointBuilder kafka(String path)
kafka:topic
Path parameter: topic (required)
Name of the topic to use. On the consumer you can use comma to
separate multiple topics. A producer can only send a message to a
single topic.path - topicdefault KafkaEndpointBuilderFactory.KafkaEndpointBuilder kafka(String componentName, String path)
kafka:topic
Path parameter: topic (required)
Name of the topic to use. On the consumer you can use comma to
separate multiple topics. A producer can only send a message to a
single topic.componentName - to use a custom component name for the endpoint
instead of the default namepath - topicApache Camel