File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 1
1
language : go
2
2
3
3
go :
4
- - " 1.12"
4
+ - " 1.12.x "
5
5
6
6
os :
7
7
- linux
Original file line number Diff line number Diff line change @@ -47,12 +47,14 @@ func NewCommitOffset(consumer *kafka.Consumer) *CommitOffset {
47
47
}
48
48
49
49
// Via streams data through given flow
50
+ // panics on invalid message type
50
51
func (co * CommitOffset ) Via (flow streams.Flow ) streams.Flow {
51
52
go co .loop (flow )
52
53
return flow
53
54
}
54
55
55
56
// To streams data to given sink
57
+ // panics on invalid message type
56
58
func (co * CommitOffset ) To (sink streams.Sink ) {
57
59
co .loop (sink )
58
60
}
Original file line number Diff line number Diff line change @@ -83,6 +83,7 @@ func (th *Throttler) doNotify() {
83
83
}
84
84
85
85
//prefill buffer
86
+ //panics on Unsupported ThrottleMode
86
87
func (th * Throttler ) bufferize () {
87
88
defer close (th .out )
88
89
if th .mode == Discard {
You can’t perform that action at this time.
0 commit comments