Skip to content

Commit

Permalink
Prevent excessive wait time in KafkaSender for upgrade tests (knative…
Browse files Browse the repository at this point in the history
…-extensions#1107) (knative-extensions#587)

Co-authored-by: Martin Gencur <[email protected]>

Co-authored-by: Knative Prow Robot <[email protected]>
Co-authored-by: Martin Gencur <[email protected]>
  • Loading branch information
3 people authored Feb 24, 2022
1 parent 8a47a24 commit 6848d14
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/upgrade/continual/kafkasender.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ func (k *kafkaSender) SendEvent(ce cloudevents.Event, rawEndpoint interface{}) e
WithClientId("continualtests-kafka-sender").
WithDefaults().
Build(k.ctx)
// Prevent excessive wait time.
conf.Producer.RequiredAcks = sarama.WaitForLocal
if err != nil {
return err
}
Expand Down

0 comments on commit 6848d14

Please sign in to comment.