'Grpc server send data to queue ,Nats io

I have a situation where I need to publish the data from grpc server (streaming )data to

Nats io publisher ,this nats io would be subscribed by many clients

          Grpc Server  ----->Nats Io  -->Clients

How can I achieve that ,I was able to send data from GRpc server --->Grpc client in go and then was able to publish on nats server

But I don't want to involve the grpc client in between .Any idea how to achieve it



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source