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

Kafka retention policy #19

Closed
slifty opened this issue Apr 24, 2021 · 3 comments
Closed

Kafka retention policy #19

slifty opened this issue Apr 24, 2021 · 3 comments

Comments

@slifty
Copy link
Member

slifty commented Apr 24, 2021

Task

Description

Very little time has been spent on the sample kafka configuration in this repository, and I suspect that kafka retention is very long (maybe forever, maybe several days.)

At any rate, my docker filled up after processing a single channel for about 20 minutes, so we should set the retention policy to something short (e.g. 30 seconds). The intent is that things are processed as they are streamed so I don't think retention is actually ever desirable.

Relevant Resources / Research

@slifty
Copy link
Member Author

slifty commented Apr 24, 2021

Some updates:

  1. default retention time is seven days
  2. Here's a good article: https://www.baeldung.com/kafka-message-retention

@slifty
Copy link
Member Author

slifty commented Apr 24, 2021

Another update -- it looks like the docker container we are using doesn't make this configurable, though there is an open PR to add that functionality

That said, the Countertop can specify topic level configurations using the configEntries attribute when creating a topic.

With that in mind, this becomes a Countertop issue.

@slifty
Copy link
Member Author

slifty commented Jul 3, 2021

This is now resolved -- hooray!

@slifty slifty closed this as completed Jul 3, 2021
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