Action types
Kafka connector provides templates to run the action types available in Kafka.
Two types of action are available.
- Produce
- Delivers a message to a specified Kafka topic.
- Bulk Produce
- Delivers a batch of messages asynchronously to a specified Kafka topic, waits for the batch of messages to complete publishing, and returns a list of metadata containing the status of each message.
- Consume
- Consumes a message from one or more specified Kafka topics.
Every action has an input/output signature. The input signature defines the parameters that are passed to the action at runtime and the output signature defines the results of the action that is run.
Note:
- Use a Producer Account with Producer or Bulk Produce actions and Consumer Account with Consume actions. Using Consumer Account with Produce or Bulk Produce actions or Producer Account with Consume action might lead to undesirable results.
- Use Apache Kafka accounts with Apache Kafka actions and Confluent Kafka accounts with Confluent Kafka actions. Mismatching the distribution types with the action types might result in undesirable outcomes.