Configure a script consumer
-
- UpdatedFeb 1, 2024
- 2 minutes to read
- Washington DC
- Building applications
Use a script to import and process data from your Kafka environment.
Before you begin
- Role required: integration_hub_admin
- This consumer requires a Stream Connect subscription. For more information, see https://www.servicenow.com/products/automation-engine.html.
- The following plugins are required.
- The ServiceNow IntegrationHub Kafka Consumer [com.glide.hub.kafka_consumer] plugin.
- The ServiceNow IntegrationHub ETL Consumer - Kafka [com.glide.hub.etl_consumer.kafka] plugin.
About this task
To configure a consumer, you need to create two records.
- The consumer record, which specifies how to import and process data.
- A record for the Kafka stream, which defines the stream of data to your consumer.
Procedure
Example
What to do next
Create a Kafka stream for this consumer. After the stream is activated, you can start receiving messages from your Kafka environment.