Falcosidekick outout KAFKA with TLS support
victorrodriguez1984 opened this issue · 4 comments
victorrodriguez1984 commented
Motivation
Feature
Alternatives
Issif commented
Have you tested this config?
kafka:
hostport: "ssl://<address>:9092"
Technically, it should work.
Issif commented
@victorrodriguez1984 can you try my proposal to check if it's ok please?
ibice commented
Hi @Issif, @victorrodriguez1984 and me have tested your proposal, but it seems it doesn't like it. It tries to resolve ssl://<address>:<port>
. Here's the error message:
dial tcp: lookup ssl://server:9092: no such host
To see the error, I had to modify the code to handle this returned err:
falcosidekick/outputs/kafka.go
Lines 142 to 143 in 4d11678
It might be worth handling it, it seems
handleKafkaCompletion
captures errors during async writes and WriteMessages
returns synchronous errors. What do you think?Issif commented
Everything is available with release 2.28.0 👍