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

Kafka ingestor fix #233

Merged
merged 3 commits into from
Jun 17, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Temporary fix to log goflow2 transport wrapper
  • Loading branch information
OlivierCazade committed Jun 14, 2022
commit b062de190bf1fd00cf347f3199dde435237806fe
4 changes: 4 additions & 0 deletions pkg/pipeline/ingest/ingest_collector.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@ func (w *TransportWrapper) Send(_, data []byte) error {
message := goflowpb.FlowMessage{}
err := proto.Unmarshal(data, &message)
if err != nil {
// temporary fix
// A PR was submitted to log this error from goflow2:
// https://github.com/netsampler/goflow2/pull/86
log.Error(err)
return err
}
renderedMsg, err := RenderMessage(&message)
Expand Down