DefaultBlockSourceObject

DefaultBlockSourceObject
DefaultBlockSourceObject

Source cluster details e.g. source topic name , mapping name etc.

JSON Example
{
    "topic": "metrics1",
    "type": "json_metrics",
    "mapping": {},
    "properties": {
        "bootstrap.servers": "localhost:9092",
        "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

mapping
Required

Details of the default json mapping

properties
Required

kafka Consumer properties for the source cluster