question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I started an InfluxDB using Docker as described at: https://hub.docker.com/_/influxdb/ but I’m unable to load anything from a Kafka topic “connect-test”. This is the verbose output:

# kafka_influxdb -vvv  -c config.yaml
Reading config file config.yaml
DEBUG:root:Initializing Kafka Consumer
DEBUG:root:Initializing connection to InfluxDB at localhost:8086
INFO:root:Connecting to InfluxDB at localhost:8086 (SSL: False, UDP: False)
DEBUG:root:Initializing message encoder: kafka_influxdb.encoder.collectd_graphite_encoder
INFO:root:Creating InfluxDB database if not exists: metrics
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): localhost
DEBUG:urllib3.connectionpool:http://localhost:8086 "GET /query?q=CREATE+DATABASE+%22metrics%22&db=metrics HTTP/1.1" 200 None
INFO:root:Listening for messages on Kafka topic connect-test...
INFO:root:Connecting to Kafka with the following settings:
 {'default.topic.config': {'auto.offset.reset': 'largest'}, 'bootstrap.servers': 'localhost:9092', 'offset.store.method': 'broker', 'group.id': 'kafka-influxdb'}...
DEBUG:root:<cimpl.Message object at 0x2268210>
INFO:root:connect-test [0] reached end at offset 524608 with key None

DEBUG:root:None
DEBUG:root:None
DEBUG:root:None
DEBUG:root:None
...

Database is created but then I have only “DEBUG:root:None” message endlessly. I tried also to reset offsets of my Kafka topic but no results. Any help?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
mimmuscommented, Mar 23, 2018

It works, thank you very much. I’m not a Kafka guru but loading a bunch of data in InflusxDB using your tool was really simple.

0reactions
mimmuscommented, Mar 23, 2018

Trying just now…

Read more comments on GitHub >

github_iconTop Results From Across the Web

SQL Lab preview of wb_health_population locks up Superset ...
If you select wb_health_population in SQL Lab under 'See table schema' and the preview window tries to do its thing, it will never...
Read more >
Google Assistant Webserver (broadcast messages without ...
Hello everyone! Just recently, I was able to successfully get my add-on for the text-based Google Assistant working on Hass.io.
Read more >
Strange bevaiour of session.add in sqhalchemy (duplicate key ...
First it tried to create an object with id=1 and failed as it was a duplicate. I did not save the stack trace,...
Read more >
Nitrokey Start bricked by nitropy
Hello! I tried to update my Nitrokey Start via nitropy on a Gentoo Linux, which failed. Now even dmesg does not mention it...
Read more >
替换models.Database的尝试 - 知乎专栏
2019-06-04 15:33:05,246:DEBUG:root:database.perm: 2019-06-04 15:33:05,246:DEBUG:root:None. 不过幸好在调用commit之后,看到perm字段被正确的赋值了:.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found