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

Automatically deregister enhanced fan-out consumers #517

Open
kmcnerney-salesforce opened this issue Oct 29, 2021 · 1 comment
Open

Automatically deregister enhanced fan-out consumers #517

kmcnerney-salesforce opened this issue Oct 29, 2021 · 1 comment

Comments

@kmcnerney-salesforce
Copy link

I have a consumer group that auto scales and will sometimes need more than the default of 5 enhanced fan-out consumers, sometimes less. If I set maxEnhancedConsumers to 20, all of the consumers are created, but they remain registered even after scaling down my consumer group application.

For example, at the peak of the day, I might have 10 instances of the application running, each using 1 consumer. Overnight, I might have 1 instance of the application running and 9 consumers that aren't used.

Can lifion-kinesis automatically deregister the consumers that are not being used?

@kmcnerney-salesforce
Copy link
Author

Hi @eaviles, I saw that you've contributed to this module. Is there a way to get support for questions/issues like this? I'd love to use it if there is some support.

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

No branches or pull requests

1 participant