Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

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

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

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
Highlighted

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

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.

Don't have an account?
Coming from Hortonworks? Activate your account here