-
Kafka_consumer.yaml (python style) and more
Hi, As a followup to the article i posted earlier ( https://log-it.tech/2019/03/15/get-the-info-you-need-from-consumer-group-python-style/ ) , you can use that info to put in into kafka_consumer.yaml for Datadog integration. It’s not elegant by any means, but it works. As an advise, please don’t over complicate thinks more than they need. In the last example i figured i…
-
Get the info you need from consumer group (python style)
Hi, For some of you might be of help. If it’s rubbish, i truly apologize, please leave a comment with improvements 🙂 I will not explain it. It should be self explanatory. Cheers
-
Kafka consumer group info retrieval using Python
Hi, I’ve been playing with kafka-python module to grab the info i need in order to reconfigure Datadog integration. Unfortunately, there is a catch also on this method. And i will show you below. Here is a little bit of not so elegant code. As you will see, print(meta[3]) will return a very ugly binary…
-
Fact for kafka_consumer hash…or kind of
Hi, There is a late requirement that we activate the kafka_consumer functionality of Datadog. Unfortunately this is a challenge if you don’t have a fixed number of consumer groups and topics (on one client we had a couple of hundreds consumer groups) Here is how it should look in the example file So, if you…
-
Python for opening and reading files
Since I started learning Python and hopefully take also a certification, I am trying to do some hands-on. Nothing too complicated, just some basic exercises, for the moment. Here is one of them. They want to though you to open the and file and read from it like: But there is a thing not to…