This document introduces overall general integration configuration settings of the
UVAP microservices.
Authentication Definition
The following are optional authentication definitions of source and target topic brokers. The definitions contain the broker ID, user name and password in JSON format.
auth_defs
List of authentication definition data
id
Authentication definition unique ID.
user_name
The SASL authentication username.
password
The SASL authentication password.
Topic Definitions
Source Topic Options
The following source_options are available:
consumer_group
Kafka consumer group. If left empty a UUID will be generated.
start
Defines the record position where Kafka starts reading from the topic.
START_BEGIN
Start from the first record.
START_DATETIME
Start from a specific timestamp.
START_NOW
Start from the current timestamp.
START_END
Start at the end of the records.
start_date_time
Starts reading from the set timestamp defined in ISO-8601 format (milliseconds and time zone are optional). Only records with equal or later timestamps are processed.
Note:
Set start_date_time only if start is set to START_DATETIME.
For example: 2019-04-08 10:10:24.123 +01:00
end
Defines the record position where Kafka stops reading.
END_NEVER
The microservice does not stop after the last record is processed, instead it waits for new input records.
END_DATETIME
Ends at a specific timestamp.
END_END
The microservice stops after processing the last source record.
end_date_time
Ends reading at reaching a specific timestamp defined in ISO-8601 format (milliseconds and time zone are optional). Only records with earlier timestamps are processed.
Note:
Set end_date_time only if end is set to END_DATETIME.
For example: 2019-04-08 10:10:24.123 +01:00
message_processing_latency_ms
Each topic has this amount of time to provide message for processing before a newer message is processed from another topic.
Optional authentication definition id. Exclusive to user_name and password.
user_name
Optional SASL authentication username of the target.
password
Optional SASL authentication password of the target.
Examples
Authentication Definitions
Two authentication definitions are configured. The first one is used for the
source broker connections, while the second one is not used in this example.
The sources are set to be read from the given date and never stop being read.
Two feature vector sources are defined with broker list and name, using the
predefined authentication parameters.
The target stream is being replaced and can be accessed without any authentication.