Interface KafkaEndpointBuilderFactory.KafkaBuilders
-
- All Known Subinterfaces:
EndpointBuilderFactory
- All Known Implementing Classes:
EndpointRouteBuilder
,EndpointRouteConfigurationBuilder
- Enclosing interface:
- KafkaEndpointBuilderFactory
public static interface KafkaEndpointBuilderFactory.KafkaBuilders
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default KafkaEndpointBuilderFactory.KafkaHeaderNameBuilder
kafka()
Kafka (camel-kafka) Sent and receive messages to/from an Apache Kafka broker.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.
-
-
-
Method Detail
-
kafka
default KafkaEndpointBuilderFactory.KafkaHeaderNameBuilder kafka()
Kafka (camel-kafka) Sent and receive messages to/from an Apache Kafka broker. Category: messaging Since: 2.13 Maven coordinates: org.apache.camel:camel-kafka- Returns:
- the dsl builder for the headers' name.
-
kafka
default KafkaEndpointBuilderFactory.KafkaEndpointBuilder kafka(String path)
Kafka (camel-kafka) Sent and receive messages to/from an Apache Kafka broker. Category: messaging Since: 2.13 Maven coordinates: org.apache.camel:camel-kafka Syntax: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.- Parameters:
path
- topic- Returns:
- the dsl builder
-
kafka
default KafkaEndpointBuilderFactory.KafkaEndpointBuilder kafka(String componentName, String path)
Kafka (camel-kafka) Sent and receive messages to/from an Apache Kafka broker. Category: messaging Since: 2.13 Maven coordinates: org.apache.camel:camel-kafka Syntax: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.- Parameters:
componentName
- to use a custom component name for the endpoint instead of the default namepath
- topic- Returns:
- the dsl builder
-
-