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

Consumer Monitor and Lag metrics #94

Merged
merged 5 commits into from
Feb 13, 2019
Merged

Consumer Monitor and Lag metrics #94

merged 5 commits into from
Feb 13, 2019

Conversation

michaelliao5
Copy link
Contributor

src/Equinox.Projection.Kafka/Kafka.fs Outdated Show resolved Hide resolved
// Stats format: https://github.com/edenhill/librdkafka/blob/master/STATISTICS.md
let stats = JToken.Parse json
(stats.Item "topics").Children()
|> Seq.choose(fun t ->
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

combine choose and filters (in fact probably do a seq { for .. if -> comprehension)

src/Equinox.Projection.Kafka/Kafka.fs Show resolved Hide resolved
src/Equinox.Projection.Kafka/Kafka.fs Outdated Show resolved Hide resolved
@michaelliao5 michaelliao5 merged commit 15c6981 into master Feb 13, 2019
bartelink pushed a commit that referenced this pull request Feb 13, 2019
bartelink pushed a commit that referenced this pull request Feb 13, 2019
bartelink pushed a commit that referenced this pull request Feb 13, 2019
bartelink pushed a commit that referenced this pull request Feb 13, 2019
@bartelink bartelink deleted the consumer-metrics branch February 22, 2019 17:37
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.

2 participants