ConfigureBlockSourceObject
ConfigureBlockSourceObject
Source cluster details e.g. source topic name , mapping name etc.
JSON Example
{
"topic": "metrics1",
"type": "json_metrics",
"mapping_name": "KMD RegEx",
"properties": {
"bootstrap.servers": "localhost:9092",
"username": "string",
"password": "string",
"application.id": "omega-kafka-collector",
"auto.offset.reset": "earliest",
"group.id": "omega-consumer-group",
"key.deserializer": "org.apache.kafka.common.serialization.StringDeserializer",
"value.deserializer": "org.apache.kafka.common.serialization.StringDeserializer"
}
}
string As ^.*$
topic
Required
Name of the source kafka topic
string As ^.*$
type
Required
Type of the collector json_metrics or json_events
string As ^.*$
mapping_name
Required
Name of the metrics or event mapping to be applied
properties
Required
kafka Consumer properties for the source cluster