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

jamie/metrics compression #264

Merged
merged 7 commits into from
Jul 12, 2019
Merged

jamie/metrics compression #264

merged 7 commits into from
Jul 12, 2019

Conversation

jamiealquiza
Copy link
Collaborator

@jamiealquiza jamiealquiza commented Jul 3, 2019

This PR adds compression support to both metricsfetcher and topicmappr for metrics metadata that's used in rebalance commands or rebuild when configured with the 'storage' placement strategy.

Topicmappr will attempt to decompress the znode metrics data as gzip before deserializing the the json contents. If it fails (i.e. is not gzipped), it will simply move to handling the raw json text as it does now.

Closes #258
Alternative to #257

@jamiealquiza jamiealquiza merged commit fff3f92 into master Jul 12, 2019
@jamiealquiza jamiealquiza deleted the jamie/metrics-compression branch July 17, 2019 15:35
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

Successfully merging this pull request may close these issues.

[topicmappr] handle larger metrics data in ZooKeeper
1 participant