service kafka connector
two important detai
servicenow mid server( can be installed on host machine with docker, communicate with servicenow through port 443)
then mid server will keep sending request to servicenow ecc queue for tasks
Kafka also need to specify a host IP, mid server, the internal machine ip and port(bootsrap_server where kafka is listening)
also pay attention to required kafka connector fields in the table in the document:
https://docs.servicenow.com/bundle/vancouver-servicenow-platform/page/product/mid-server/task/t_InstallAMIDServerOnLinux.html
Field Description
authentication_type
The Kafka Consumer authentication type. The currently supported values are:
PLAINTEXT (no authentication) (Default)
SASL_PLAINTEXT (basic authentication – user name and password)
SASL_SSL
SSL
bootstrap_servers
The servers that establish the connection with the Kafka cluster. Values in this field should be in the form host1:port1, host2:port2, and so on (comma-separated).
This field is required.
consumer_group_name
The Consumer group name.
If the same Kafka topic is being consumed from two different instances, use different consumer group names so all events are captured for both instances.
This field is required.
time_of_event_field
The name of the field in the JSON payload/message that includes the time of the event.
If a field in the JSON payload/message includes the time of the event, that value should be the value for this parameter.
If no time field value is given, then the received time of the event in the ServiceNow instance is set as time_of_event.
The time_of_event field should be a first-level field in the JSON payload/message. Do not use nested field names.
timezone
The time zone of the time_of_event field in the JSON payload/message.
The timezone value isn’t used when the time_of_event field is empty.
For example, if the time_of_event in the payload/message is in the IST time zone, the value would be GMT+0530.
Default: GMT.
date_format
The date_time format of the time_of_event field in the JSON payload/message.
If no time field value is given, then the time when the event was received in the instance in GMT time is used. The date_time value isn’t used when the time_of_event field is empty.
Default: yyyy-MM-dd HH:mm:sss.
debug Option to view debug logs. Default: false
logPayloadForDebug Option to view JSON payload-related logs. Default: false
topic
The Kafka topic from which the messages are fetched.
This field is required.
No comments:
Post a Comment