Skip to main content

How to set custom call back server URL?

  • December 20, 2021
  • 0 replies
  • 32 views

AkshayJadhav
StreamSets Employee
Forum|alt.badge.img

Question:

Say, you have multiple aliases for your SDC gateway node in your DNS. And, only one of them have proper certificates configured. How to configure this custom alias so that when you run a pipeline in cluster mode, the map tasks are able to post back metrics data using this alias/hostname

 

Answer:

This is how the callback.server.url is set in the code,

callback.server.url = baseHttpURl + /public-rest/v1/cluster/callbackWithResponse

and baseHttpURl is configurable through sdc.base.http.url in the sdc.properties file. You need to set sdc.base.http.url to your desired value and restart SDC to make the change effective.

Did this topic help you find an answer to your question?
This topic has been closed for comments