@itentialopensource/adapter-kafka
Version:
[Deprecated] Itential adapter to connect to kafka
46 lines (45 loc) • 1.01 kB
JSON
{
"type": "Kafka",
"id": "kafka",
"properties": {
"host": "localhost",
"port": 9092,
"registry_url": "",
"topics": [],
"interval_time": 5000,
"stub": false,
"client": {
"connectTimeout": 10000,
"requestTimeout": 30000,
"autoConnect": true,
"connectRetryOptions": {},
"idleConnection": 300000,
"reconnectOnIdle": true,
"maxAsyncRequests": 10,
"sslOptions": {},
"sasl": {
"mechanism": "PLAIN",
"username": "username",
"password": "password"
}
},
"producer": {
"requireAcks": 1,
"ackTimeoutMs": 100,
"partitionerType": 0
},
"consumer": {
"groupId": "kafka-node-group",
"autoCommit": false,
"autoCommitIntervalMs": 5000,
"fetchMaxWaitMs": 100,
"fetchMinBytes": 1,
"fetchMaxBytes": 1048576,
"fromOffset": true,
"encoding": "utf8",
"keyEncoding": "utf8"
}
},
"logLevel": "none",
"timeout": 60000
}