Support Questions

Find answers, ask questions, and share your expertise

Is ${hostname()} and nodeAddress(/controller/cluster) the same?

avatar
Contributor

I will send request to ListenHttp(running on each node) using PostHTTP(running on only primary node). For this, i am getting nodes address from nifi rest-api(/controller/cluster). And i prepare URL like this;
http://nodeAddress:port/contentListener

Can I successfully send request to ListenHttp processors in each node with PostHttp using this URL?

10 REPLIES 10

avatar
Contributor

@David Miller

You are right. But s2s etc. not suitable for my scenario. There are many reasons.