Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration of InfluxDB retention policy unclear or not working #2

Open
tw-bert opened this issue May 24, 2017 · 0 comments
Open

Comments

@tw-bert
Copy link

tw-bert commented May 24, 2017

Hi Florian,

We're not succeeding in configuring the target retention policy.

This is what I put in /opt/Kafka/kafka_2.12-0.10.2.1/config/server.properties :

# InfluxDB metrics
kafka.metrics.reporters=com.github.fhuss.kafka.influxdb.KafkaInfluxMetricsReporter
kafka.influxdb.metrics.reporter.enabled=true
kafka.influxdb.metrics.address=http://localhost:8086
kafka.influxdb.metrics.database=telegraf
kafka.influxdb.metrics.retention=A

Expecting that the measurements will end up in retention policy A of database telegraf.
Alas, they go to the default retention policy of database telegraf. Retention policy A is present, initially created by:

create retention policy A on telegraf duration 1w replication 1 shard duration 168h

Sidenote: We have several CQ's running that downsample to longer retention policies. It's convenient for us to use the same retention scheme, be it in a 'kafka' db or in a 'telegraf' db, that's just a name.

Any hints?

Kind regards, TW

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant