Skip to content

Conversation

@wuxi889
Copy link
Contributor

@wuxi889 wuxi889 commented Jul 30, 2025

Changed

This PR introduces support for configuring retry behavior in the Kafka producer by adding two new options:
produce.retry: Number of times to retry sending a message if it initially fails.
produce.retry_sleep: Time to wait (in seconds) between each retry attempt.

These values are injected into the producer via two new setter methods:
setProduceRetry(int $times)
setProduceRetrySleep(float $seconds)

@github-actions
Copy link

Hi, this is a READ-ONLY repository, please submit your PR on the https://github.com/hyperf/hyperf repository.

This Pull Request will close automatically.

Thanks!

@github-actions github-actions bot closed this Jul 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant