Make a standalone syslog server that forwards the logs to Kafka, or create a Docker logging plugin.
Either should cache logs if the Kafka connection is unavailable, and send them all whenever it's up. Maybe RocksDB? Or anything in Java https://github.com/search?l=Java&q=persistent+queue&type=Repositories. It would be nice if it had native Coroutines support.
Make a standalone syslog server that forwards the logs to Kafka, or create a Docker logging plugin.
Either should cache logs if the Kafka connection is unavailable, and send them all whenever it's up. Maybe RocksDB? Or anything in Java https://github.com/search?l=Java&q=persistent+queue&type=Repositories. It would be nice if it had native Coroutines support.