Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

How to update Kafka cluster configuration using Puppet and Cloudera Manager REST APIs?

avatar
New Contributor

Hi everyone,

 

So I am in the process of using puppet for the first time to automate the building of development environments.  Part of the process requires going into a Kafka cluster configuration to amend the 'SSL client authentication' and 'inter broker protocol' values.

I'm having trouble finding the correct API (if one exists), the requirements of the JSON payload and the JSON item names for the attributes detailed above.

Looking through Cloudera Manager documentation isn't making it clear so I'm hoping someone here has experience with these APIs and can enlighten me?

1 REPLY 1

avatar
Expert Contributor

Hello @Mentor 

 

You can use the service resource API to update (PUT) the service configuration. Please refer the below API doc

https://archive.cloudera.com/cm7/7.0.3/generic/jar/cm_api/apidocs/resource_ServicesResource.html#res...

 

Let me know if this helps!

 

Cheers!

Was your question answered? Make sure to mark the answer as the accepted solution.

If you find a reply useful, say thanks by clicking on the thumbs up button.