mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
kafka: add missing protocol option
This commit is contained in:
parent
34cdb2819e
commit
702f11b777
1 changed files with 1 additions and 0 deletions
|
@ -207,6 +207,7 @@ int kafka_parse(struct vnode *n, json_t *json)
|
|||
k->consumer.group_id = group_id ? strdup(group_id) : nullptr;
|
||||
|
||||
if (strcmp(protocol, "SSL") &&
|
||||
strcmp(protocol, "PLAINTEXT") &&
|
||||
strcmp(protocol, "SASL_SSL") &&
|
||||
strcmp(protocol, "SASL_PLAINTEXT"))
|
||||
throw ConfigError(json, "node-config-node-kafka-protocol", "Invalid security protocol: {}", protocol);
|
||||
|
|
Loading…
Add table
Reference in a new issue