Publish Message to Kafka
Produce Kafka message
Required inputs
| Key | Label | Type |
|---|---|---|
topic.bootstrapServers | Bootstrap servers | FEEL expression |
topic.topicName | Topic | FEEL expression |
schemaStrategy.avro.schema | Schema | FEEL expression |
schemaStrategy.schema | Schema | FEEL expression |
schemaStrategy.schemaRegistryUrl | Schema registry URL | FEEL expression |
message.value | Value | FEEL expression |
Optional inputs
| Key | Label | Type |
|---|---|---|
kafkaConnectionConfiguration | Connection credential | secret |
authentication.username | Username | FEEL expression |
authentication.password | Password | secret |
additionalProperties | Additional properties | FEEL expression |
schemaStrategy.type | Schema strategy | string |
schemaStrategy.schemaType | Schema type | string |
message.key | Key | FEEL expression |
headers | Headers | FEEL expression |
resultVariable | Result variable | string |
resultExpression | Result expression | FEEL expression |
errorExpression | Error expression | FEEL expression |
retryCount | Retries | FEEL expression |
retryBackoff | Retry backoff | string |
jobTimeout | Job timeout | string |
Apply this connector with @bpmnkit/connectors
import { applyConnectorTemplate } from "@bpmnkit/connectors"
const result = applyConnectorTemplate("io.camunda.connectors.KAFKA.v1", {
"topic.bootstrapServers": "= ...",
"topic.topicName": "= ...",
"schemaStrategy.avro.schema": "= ...",
"schemaStrategy.schema": "= ...",
"schemaStrategy.schemaRegistryUrl": "= ...",
"message.value": "= ...",
"kafkaConnectionConfiguration": "<your connection credential>",
"authentication.username": "= ...",
})