-
Notifications
You must be signed in to change notification settings - Fork 116
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
GRPC Streaming add channel buffer per subscription and metrics #1687
Changes from 7 commits
20aaa96
76b5613
c77f0d5
5da901d
eb8a11f
ef874ab
2516ca1
191b79c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -1958,7 +1958,8 @@ func getGrpcStreamingManagerFromOptions( | |||||||||||||||||
return streaming.NewGrpcStreamingManager( | ||||||||||||||||||
logger, | ||||||||||||||||||
appFlags.GrpcStreamingFlushIntervalMs, | ||||||||||||||||||
appFlags.GrpcStreamingMaxBufferSize, | ||||||||||||||||||
appFlags.GrpcStreamingMaxBatchSize, | ||||||||||||||||||
appFlags.GrpcStreamingMaxChannelBufferSize, | ||||||||||||||||||
Comment on lines
+1961
to
+1962
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The - return streaming.NewGrpcStreamingManager(
- logger,
- appFlags.GrpcStreamingFlushIntervalMs,
- appFlags.GrpcStreamingMaxBatchSize,
- appFlags.GrpcStreamingMaxChannelBufferSize,
- )
+ return streaming.NewGrpcStreamingManager(
+ logger,
+ time.Duration(appFlags.GrpcStreamingFlushIntervalMs) * time.Millisecond, // Ensure time duration is correctly formatted
+ appFlags.GrpcStreamingMaxBatchSize,
+ appFlags.GrpcStreamingMaxChannelBufferSize,
+ ) Committable suggestion
Suggested change
|
||||||||||||||||||
) | ||||||||||||||||||
} | ||||||||||||||||||
return streaming.NewNoopGrpcStreamingManager() | ||||||||||||||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove later