Activate or deactivate a Stream Producer

task australia Updated Sep 10, 2026 2 min read activate-stream-producer.md
Raw file servicenow.com

Activate a Stream Producer configuration to begin capturing and streaming table changes to your Kafka topic. You can deactivate it at any time to stop streaming changes. When you deactivate a producer, any unprocessed messages in the CDC queue are discarded.

Before you begin

Before you begin:

  • A Stream Producer configuration must exist.
  • All required form fields must be completed.

Role required: kafka_producer

About this task

When you activate a Stream Producer, the change data capture (CDC) listener starts monitoring the specified table for changes. Any matching table changes are immediately captured and sent to the target Kafka topic. When you deactivate the producer, monitoring stops and no new messages are sent.

Important: When you deactivate a Stream Producer, any unprocessed messages that are currently staged in the CDC queue won't be sent to Kafka. This is the expected behavior to prevent sending stale or outdated events when the producer is reactivated later. When it's reactivated, only new changes (from the moment of reactivation onward) will be captured and sent.

Procedure

  1. Navigate to All > IntegrationHub > Stream Connect > Stream Producers.

  2. In the Stream Producer list, locate and select the producer you want to activate or deactivate.

  3. To activate the producer:

    1. In the Related Links section, select Activate (available only if the producer is currently inactive).

      The Stream Producer starts monitoring the table. The Active field is automatically set to true. A corresponding Kafka Producer record is created and appears in the Kafka Producer related list.

  4. To deactivate the producer:

    1. In the Related Links section, select Deactivate (available only if the producer is currently active).

      A confirmation dialog appears warning you that deactivating the producer will stop all events from being published to the Kafka topic and listing the number of events currently staged in the CDC queue that will be discarded.

    2. Select OK to confirm deactivation, or Cancel to cancel.

      If you select OK: The Stream Producer stops monitoring the table. The Active field is automatically set to false. All staged messages in the CDC queue are discarded and will not be sent to the Kafka topic. No new messages are sent to Kafka.

Result

The Stream Producer is activated or deactivated as requested. If you activated the producer, it begins streaming table changes immediately. If you deactivated it, streaming stops.

What to do next

After activating a Stream Producer, you can monitor activity and metrics in the Stream Producer CDC Statistics related list on the Stream Producer form. Statistics are updated periodically and show the number of messages sent and other activity metrics.

Parent Topic:Stream Producer

Keywords activatedeactivateStream Producerstartstop
Search documentation
Search document titles and file paths on the australia branch