Skip to content
This repository has been archived by the owner on Feb 18, 2021. It is now read-only.

Option to disable NACK throttling for consumer group #274

Merged
merged 5 commits into from
Aug 16, 2017
Merged

Conversation

kobeyang
Copy link
Contributor

No description provided.

@kobeyang kobeyang requested review from thuningxu, datoug and kirg August 14, 2017 23:22
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.6%) to 67.001% when pulling 3f3b84a on throttle into 1341daf on master.

glide.lock Outdated
@@ -134,7 +134,7 @@ imports:
- common/websocket
- stream
- name: github.com/uber/cherami-thrift
version: 2cb0e2eeb6570800a2dd86544909bf2693f50e7b
version: 3fe5d05728858405b75cd8fc6e1ed7388c5de86e
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will update this once the change of cherami-thrift merged.

const testPageSize = 2
const (
testPageSize = 2
FlagDisableNackThrottling = "disable_nack_throttling"
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be a constant somewhere in common.

return
}
}

Copy link
Contributor

Choose a reason for hiding this comment

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

Why do it here instead of in writeMsgsStream() in consconnection.go?

@coveralls
Copy link

coveralls commented Aug 16, 2017

Coverage Status

Coverage decreased (-0.07%) to 67.501% when pulling 5a9e811 on throttle into 1341daf on master.

@coveralls
Copy link

coveralls commented Aug 16, 2017

Coverage Status

Coverage decreased (-0.2%) to 67.61% when pulling 5bffac5 on throttle into 1f9a72d on master.

@kobeyang kobeyang merged commit ed6393f into master Aug 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants