This PR removes the requirement for NATS subject or S3 buckets to be scoped by public key outside of rhio, this made the usage of rhio slightly cumbersome. The public key is still a requirement for subscribe configurations, but only to verify the source of the data coming in.
To prevent NATS messages from being re-published via gossip after ingestion which is likely to happen when the subjects can collide now (without the public key namespacing), a custom X-From-Rhio header is inserted into each NATS message. With this "marker" we prevent messages to get re-published when they arrive again on a NATS consumer.
This PR removes the requirement for NATS subject or S3 buckets to be scoped by public key outside of
rhio
, this made the usage ofrhio
slightly cumbersome. The public key is still a requirement forsubscribe
configurations, but only to verify the source of the data coming in.The config has now the following format:
To prevent NATS messages from being re-published via gossip after ingestion which is likely to happen when the subjects can collide now (without the public key namespacing), a custom
X-From-Rhio
header is inserted into each NATS message. With this "marker" we prevent messages to get re-published when they arrive again on a NATS consumer.