Configure a Transform Map consumer
Import and process data from your Kafka environment using your existing transform map configurations.
시작하기 전에
- Role required: integration_hub_admin
- This consumer requires a Stream Connect subscription. For more information, see https://www.servicenow.com/now-platform/workflow-data-fabric.html.
- The ServiceNow Stream Connect Installer [com.glide.hub.stream_connect.installer] plugin is required.
- This consumer requires a transform map.
Formatting Kafka message payloads
Use simple JSON payloads for Kafka messages. Each Kafka message should have just one, flat JSON object. Complex JSON payloads, such as those with lists and nested objects, are not supported.
Example of simple, valid JSON input, using a flat map of key-value pairs.
{"key1": "value1", "key2": "value2"}Examples of complex, invalid JSON input. The first uses a list. The second uses nested
objects.
[{"key1": "value1", "key2": "value2"}, {"key1": "value3", "key2": "value4"}]{"key1": "value1", "key2": {"key3": "value3", "key4": "value4"}}이 태스크 정보
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.
프로시저
다음에 수행할 작업
Create a Kafka stream for this consumer. After the stream is activated, you can start receiving messages from your Kafka environment.