Or are you wanting to ingress to IoT Core and then have it replicated to NATS? If the latter, there is nothing built-in, but Benthos may be a good choice as an integration point to connect to an IoT Hub (
MQTT broker) as source and then using NATS (
subject or
stream) as the sink. Also, if you don't mind what is the use case?