I need to move events from one EventHub namespace to another EventHub namespace.
Source EH Namespace -> Source EH -> Logic App -> EventHub trigger when messages arrive -> EventHub action with Content and Properties -> Destination EH -> Event/Message Header values has two special characters prefixed
Body/Content of the event comes as expected into the destination EventHub.
Headers of the source event come in as Properties section in the Body. These properties when sent to the destination do not come decoded by base64 to string alike Body Content.
After applying base64 decoding to every required property in the header/BodyProperties, the destination EventHub has event headers prefixed with Hexadecimals like A1, 08, 24.
The action EventHub somehow sends these special characters is my guess. Between EventHub action connector and EventHub there is no other transformation happening. Here are some examples. The first two characters is a mess wasting my time.
aggregateName � shipment (Hexa A108 prefixed)
eventId �$ce643fc8-d2dc-44e2-9f03-b8be675ec5e1 (Hexa A124 prefixed)
tenantId �$5d335b18-b076-4c1b-bbe1-3aefe66a01bb (Hexa A124 prefixed)
Any guidance would really be helpful.