sholtoarmstrong-iot commented on issue #10259:
URL: https://github.com/apache/druid/issues/10259#issuecomment-1151134927
After digging around a bit more I see it works if you manually configure the
input format as follows:
```json
{
"type": "kafka",
"spec": {
"ioConfig": {
"type": "kafka",
"consumerProperties": {
"bootstrap.servers": "kafka:9092",
"security.protocol": "SASL_PLAINTEXT",
"sasl.mechanism": "PLAIN",
"sasl.jaas.config":
"org.apache.kafka.common.security.plain.PlainLoginModule required
username='user' password='password';"
},
"topic": "topic",
"inputFormat": {
"type": "json",
"flattenSpec": {
"useFieldDiscovery": true
}
}
},
"tuningConfig": {
"type": "kafka"
}
}
}
```
Leaving this here in-case anyone else has a similar issue.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]