--- title: Kafka Producer step description: Create an action that publishes events to a topic in your Kafka environment. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/build-workflows/workflow-studio/kafka-producer-action-designer.html release: australia product: Workflow Studio classification: workflow-studio topic_type: reference last_updated: "2026-03-12" reading_time_minutes: 2 breadcrumb: [Steps, Flows, subflows, and actions reference, Flows, subflows, and actions, Workflow Studio, Build workflows] --- # Kafka Producer step Create an action that publishes events to a topic in your Kafka environment. ## Roles and availability The Kafka Producer step is an Workflow Studio action step. Users with the action\_designer role can create a custom action with one or more action steps. This step is requires a Stream Connect subscription. For more information, see [https://www.servicenow.com/now-platform/workflow-data-fabric.html](https://www.servicenow.com/now-platform/workflow-data-fabric.html). This step requires the ServiceNow Stream Connect Installer \[com.glide.hub.stream\_connect.installer\] plugin. ## Fields
| Field | Description |
|---|---|
| Topic Alias | Name of the topic alias for the topic you want to publish messages to. A topic alias is a unique topic name that can be connected to any underlying Hermes or Direct Kafka topic. Select a topic alias from the drop-down list. |
| Message | Text of the message. |
| Key | Name of the key for a specific partition. Topics can be partitioned. Messages with the same key are stored in the same partition. For example, payment messages with a key of June would all be stored in the same partition of the Payments topic. |
| Headers | Headers for the message, in name-value pairs. For both the **Name** and **Value** fields, you can enter a value or use a data pill. |
| Wait For Completion | Option to require the flow to wait for the step to complete before continuing. |
| Schema | Reference to a schema table. Select a schema from the list. For information on schemas, see [Schema management in Stream Connect](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/integrate-applications/schema-management.md).**Note:** The message you're sending in the **Message** field must adhere to the structure of the selected schema. |
| If this step fails | Option to go to error evaluation or continue running the next step. This option has no effect on the Step Status. Select one of the following. - **Stop the action and go to error evaluation**: Stop running the action at the current step and go to error evaluation. The Step Status object contains the error information returned by the step. - **Don't stop the action and go to the next step**: Ignore the failure and continue running the action from the next step. The Step Status object contains the error information returned by the step. Action error evaluation runs regardless of whether the action continues running. |