This is very valuable, thank you! How do you deal with `kubectl logs` / live-tailing? What Kafka library do you use?
/MR
--
You received this message because you are subscribed to the Google Groups "Containers at Google" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-contain...@googlegroups.com.
To post to this group, send email to google-c...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-containers.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Containers at Google" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-containers/iLDsG85exRQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-contain...@googlegroups.com.
To post to this group, send email to google-c...@googlegroups.com.
This is very valuable, thank you! How do you deal with `kubectl logs` / live-tailing? What Kafka library do you use?
You received this message because you are subscribed to a topic in the Google Groups "Containers at Google" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-containers/iLDsG85exRQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-contain...@googlegroups.com.
Hi MR. Sorry for the delayed response.I pushed my code to https://github.com/garo/logs2kafka
each application can choose to simply log to STDERR/STDOUT, or in a more complex case log either to logs2kafka (via tcp, not yet implemented), or directly to Kafka.
Once the JSON log messages are in Kafka we can then use multiple different consumers: Push to Elasticsearch, store to S3, write files to disk for easy grepping, write custom code to analyse messages and update data and so on.
I haven't yet deployed Kubernetes. I'm still worrying how we can make sure we can have good enough networking performance in a multi-availability-zone setup in EC2. I'm hoping there's a way to use for example Calico so that it will use native L3 within same subnet but fallback to IPIP when doing cross-subnet connectivity. But that's a different story.
The logs2kafka uses sarama and I'm experimenting with the sarama-cluster library which will use the new Kafka 0.9.x based consumer tracking instead of zookeeper. Kafka is a complex protocol to implement, so unfortunately most of the libraries aren't yet matured outside JVM world.
--
You received this message because you are subscribed to the Google Groups "Containers at Google" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-contain...@googlegroups.com.
To post to this group, send email to google-c...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-containers.
For more options, visit https://groups.google.com/d/optout.