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

Where does Kinesis Agent store its state? #3

Open
dsidentity opened this issue Dec 11, 2023 · 0 comments
Open

Where does Kinesis Agent store its state? #3

dsidentity opened this issue Dec 11, 2023 · 0 comments

Comments

@dsidentity
Copy link

I'm investigating how to run Kinesis Agent in a Docker container. It will be mapped to a host folder where the application logs are written so it can read the logs. However I am not able to find in the documentation where the agent stores its state, to keep track of where in the log files it has read. I need to know this to ensure that if the container running the agent is restarted, the state is preserved. E.g. if the state is stored in a folder, I would mount it on the host drive or EFS.

I see in the source code, a FileCheckpointStore interface, but could not find any implementations of it:
https://github.com/awslabs/amazon-kinesis-agent/blob/master/src/com/amazon/kinesis/streaming/agent/tailing/checkpoints/FileCheckpointStore.java

Can someone answer this or point me to the right place (code or docs) to confirm?

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