[
https://issues.apache.org/jira/browse/NIFI-4007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16066043#comment-16066043
]
ASF GitHub Bot commented on NIFI-4007:
--------------------------------------
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!
> Update azure EventHubs client version for the nifi-processor
> -------------------------------------------------------------
>
> Key: NIFI-4007
> URL: https://issues.apache.org/jira/browse/NIFI-4007
> Project: Apache NiFi
> Issue Type: Bug
> Reporter: Sreeram Garlapati
> Priority: Minor
>
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)