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
namestringEndpoint name unique in the topology.
RequiredKafka properties
Kafka endpoint contract
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
functionNamesymbolGenerated endpoint handler name.
functionPackagerelative pathOptional placement below the target-language functions root. Empty uses the root directly; folder/sub-folder is resolved relative to the root selected by publicFunction and functionModule. See Code Generation / Packages and Modules for the language matrix.
empty (functions root)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