Github user pvillard31 commented on the issue:
https://github.com/apache/nifi/pull/1880
Hi @SreeramGarlapati, thanks for your contribution. I looked at the release
notes from
https://github.com/Azure/azure-event-hubs-java/
And it seems there are few breaking changes between 0.9.0 and 0.14.0.
In particular:
- The ``EventData.ApplicationProperties`` is now a ``Map<String, object>``.
- Simplified EventData by deprecating the ``getBody*`` API's. As such, the
following methods have been deprecated (#81):
``EventData.getBody()`` replaced with ``EventData.getBytes()``
``EventData.getBodyOffset()``
``EventData.getBodyLength()``
I think we are only concerned by the deprecation of the ``getBody()`` that
should be replaced by ``getBytes()`` in ``GetAzureEventHub``. Could you take
care of that?
Otherwise, I did few tests and it seems to be working as expected.
Thanks!
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---