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

[BeatsCM] Fix token creation to support any number #30164

Closed

Conversation

mattapperson
Copy link
Contributor

Fixes #29890

If the user requests too many tokens, there was a UUID collision error. Also an ES error.

We fix that by using node's built in crypto based random numbers and then batching the ES batch requests into 100 at a time

@elasticmachine
Copy link
Contributor

Pinging @elastic/beats

@mattapperson mattapperson self-assigned this Feb 6, 2019
@elasticmachine
Copy link
Contributor

💔 Build Failed

@mattapperson
Copy link
Contributor Author

closing in favor of #30335

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

Successfully merging this pull request may close these issues.

[BeatsCM] requesting more then about 1k enrollment tokens results in a timeout
2 participants