crossplane-contrib / provider-kafka

Crossplane provider for Kafka
Apache License 2.0
30 stars 32 forks source link

Add support for poll interval and max-reconcile-rate flags #65

Closed mariomalinditex closed 6 months ago

mariomalinditex commented 9 months ago

Description of your changes

Add support for poll interval and max-reconcile-rate flags allowing to the users set a custom configuration. In order to use these flags it is necessary update the controller runtime used from k8s-runtime to crossplane-runtime. Also the starting debug log now prints the new configuration on start up:

2024-01-26T08:24:58+01:00 DEBUG provider-kafka Starting {"sync-period": "1h0m0s", "poll-interval": "1m0s", "max-reconcile-rate": 10}

Fixes #61

I have:

How has this code been tested

Tested locally by:

mariomalinditex commented 7 months ago

Hi @turkenh, I am not sure if you were notified of this PR, could you take a look at it?

Thanks :)

dukanto commented 6 months ago

Any news about this? We need it too :)