Hey @Veerendra Nath Jasthi!
I'm not sure if I get it, but if you need to write on both DC through Nifi, you can try to use the following flow:
GetFTPLocal connected to PutFTP Datacenter A
GetFTPLocal connected to PutFTP Datacenter B
But, if you need to continue your flow on both DC, you can use Nifi site-to-site, this will give to you the ability to use Remote Process Groups. And then would be smtg like this:
Process Group (FTP) - RemoteProcessGroup Datacenter A - Flow
Process Group (FTP) - RemoteProcessGroup Datacenter B - Flow
More details:
https://nifi.apache.org/docs/nifi-docs/html/user-guide.html#site-to-site
Hope this helps!