Skip to content

Commit

Permalink
revert unnecessary changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
3AceShowHand committed Jan 17, 2022
1 parent c8126ec commit 8c97d96
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cdc/sink/producer/kafka/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ func newSaramaConfig(ctx context.Context, c *Config) (*sarama.Config, error) {
config.Producer.Return.Successes = true
config.Producer.Return.Errors = true
config.Producer.RequiredAcks = sarama.WaitForAll
// Time out in five minutes(600 * 500ms).
config.Producer.Retry.Max = 600
config.Producer.Retry.Backoff = 500 * time.Millisecond
switch strings.ToLower(strings.TrimSpace(c.Compression)) {
Expand Down

0 comments on commit 8c97d96

Please sign in to comment.