farsightsec / nmsg

network message encapsulation library
Apache License 2.0
30 stars 8 forks source link

Added external configuration for Kafka IO #151

Closed dvladi77 closed 3 months ago

cmikk commented 3 months ago

would it be cleaner to use a json config, as we have a json-c dependency already?

JSON configs are rather difficult to edit (lots of quoting, no comments), which is why yaml has taken over for configs. I think either structured format is overkill for the flat "string attribute = string value" configuration supported by librdkafka.