netsampler / goflow2

High performance sFlow/IPFIX/NetFlow Collector
BSD 3-Clause "New" or "Revised" License
463 stars 110 forks source link

NATS integration #311

Closed udf2457 closed 5 months ago

udf2457 commented 5 months ago

At the moment you have integration with Kafka.

NATS is a platform that is getting increasing adoption as an easier to deploy and manage alternative to Kafka.

It would be fantastic if you had support for NATS.

Whilst NATS does have MQTT support, it is only there as an "enabling technology" for integration with legacy IoT deployments. The NATS recommendation is to use NATS throughout and not rely on the MQTT bridge for greenfield deployments.

NATS is written in Go, so it has first-class support for Go integration with an official client library.

lspgn commented 5 months ago

Hello, Thank you for your suggestion. This has been proposed before. Unfortunately, there is not enough time to maintain various possible implementations of message brokers (AMQP, MQTT, Kafka, Pulsar...). GoFlow2 is mostly meant to decode various samples format and transform them into logs/events. I would suggest piping to Vector that will support many more protocols.