fix(backend): fixed panic in kafka consumer
This commit is contained in:
parent
b646ba2a9e
commit
ea658316a2
1 changed files with 5 additions and 4 deletions
|
|
@ -65,10 +65,11 @@ func NewConsumer(
|
|||
}
|
||||
|
||||
return &Consumer{
|
||||
c: c,
|
||||
messageHandler: messageHandler,
|
||||
commitTicker: commitTicker,
|
||||
pollTimeout: 200,
|
||||
c: c,
|
||||
messageHandler: messageHandler,
|
||||
commitTicker: commitTicker,
|
||||
pollTimeout: 200,
|
||||
lastReceivedPrtTs: make(map[int32]int64),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue