crossplane-contrib / provider-kafka

Crossplane provider for Kafka
Apache License 2.0
24 stars 28 forks source link

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

Closed mariomalinditex closed 2 months ago

mariomalinditex commented 5 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 3 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 2 months ago

Any news about this? We need it too :)