Search code examples
sdkbootstrap-modalkaa

How to change Bootstrap server address in generated Kaa SDK


I generated SDK for my application in Kaa. Application worked correctly. After that I changed Bootstrap server host address and as I understand, I need to regenerate SDK in order to use new Bootstrap server address. This works, but is there a way to change Bootstrap server address in generated SDK?


Solution

  • Currently, the Control service embeds a list of available Bootstrap services into the SDK (using a properties file for Java implementation, a header file for C++, etc.) during the SDK generation, and the SDK doesn't provide an API to override that list, so you can't change it.

    Currently, if you need to change the Bootstrap server host - you need to regenerate the SDK.

    For production, we recommend that you use DNS names that map to IP addresses of concrete nodes running the Bootstrap services so this will allow to manage Bootstrap servers IP addresses and help to avoid SDK regeneration.