While running a custom build of red-panda-connect with the watcher flag enabled in debug mode and trying to retrieve the latest configuration from the debug endpoint.
The documentation (REF) states that the following endpoints should provide the current configuration:
/debug/config/json returns the configuration in JSON format
/debug/config/yaml returns the configuration in YAML format
However, after updating the configuration file, these endpoints still return the older configuration Instead It Should Return the latest configuration which red-panda-connect is using.
How To Reporduce
create one config.json file. (you can use yaml as well)
When the user executes the curl command a second time, it should return the latest configuration. However, it is currently returning the older configuration.
Description :
/debug/config/json
returns the configuration in JSON format/debug/config/yaml
returns the configuration in YAML formatHowever, after updating the configuration file, these endpoints still return the older configuration Instead It Should Return the latest configuration which red-panda-connect is using.
How To Reporduce
create one
config.json
file. (you can use yaml as well)Run rpk file with this command
rpk connect run -c temp.json --w
Execute Below curl command
Now done some change in above mentioned file
Re run the above curl command
Expectation