Endpoint type
Kafka / endpointKafka endpoint
A topic contract used by a consumer Input or producer Sink.
When to use
Create this endpoint inside a Kafka connector, then select it from an Input or Sink stream.
Behavior
- Input consumes with consumerGroup.
- Sink produces to topic.
- The same endpoint may form a symmetric source/sink contract when types match.
General properties
Endpoint identity
PropertyTypeDescription
namestringEndpoint name unique in the topology.
RequiredKafka properties
Kafka endpoint contract
PropertyTypeDescription
enabledbooleanStarts topic integration.
Default:truecreateTopicbooleanCreates the topic at startup when absent.
Default:falsetopicstringKafka topic name.
Requiredpartitions1..1000Partition count used for topic creation.
Default:1consumerGroupstringConsumer group. Relevant to Input/source usage.
Required for a source endpoint.replicationFactor1..1000Replication factor used for topic creation.
Default:1usePartitionerbooleanGenerates a custom producer partitioner hook.
Default:falseFunction properties
Generated transport handler and code placement
PropertyTypeDescription
functionNamesymbolGenerated endpoint handler name.
functionPackagestringGenerated handler package.
publicFunctionbooleanPlaces the handler in shared code.
Default:falsefunctionDescriptiontextGenerated documentation comment.
functionInitializerGroupstringDependency-injection initialization group.
functionModuleModuleShared module for the handler.
Visible when publicFunction is true.Configuration example
name: Orders
topic: orders.v1
consumerGroup: order-service
partitions: 6