Releases: Azure/azure-event-hubs-java
0.14.3
com.microsoft.azure.eventhubs
- Support ReceiverIdentifier feature (#136)
For more details regarding the issues/pull requests in the latest release, see: https://github.com/Azure/azure-event-hubs-java/milestone/11
Here are the corresponding Maven packages:
https://mvnrepository.com/artifact/com.microsoft.azure/azure-eventhubs/0.14.3
0.14.2
com.microsoft.azure.eventhubs
- Fix transport buffer leaks on connection close call (#116)
com.microsoft.azure.eventhubs.processor
- Expose leaseDuration and checkpoint timeout as use configurations (#122)
For more details regarding the issues/pull requests in the latest release, see: https://github.com/Azure/azure-event-hubs-java/milestone/10
Here are the corresponding Maven packages:
https://mvnrepository.com/artifact/com.microsoft.azure/azure-eventhubs/0.14.2
https://mvnrepository.com/artifact/com.microsoft.azure/azure-eventhubs-eph/0.14.2
0.14.0
com.microsoft.azure.eventhubs
- Get runtime info APIs (#102)
EventHubClient.getRuntimeInfo
EventHubClient.getPartitionRuntimeInfo
- Support special @latest (end of stream) filter. (#89)
com.microsoft.azure.eventhubs.processor
- Fix race that causes lease id cannot be null or empty illegal argument exception from storage. (#64)
- Add lease argument to
ICheckpointManager.Update
to avoid multiple EPH instances updating. (#75) - Finish deprecating
PartitionContext.setOffsetAndSequenceNumber
. (#75) PartitionContext.checkpoint()
now uses last offset of current event batch. (#75)- Readme improvments, expanded threading notes, add tracing (#86)
For more details regarding the issues/pull requests in the latest release, see: https://github.com/Azure/azure-event-hubs-java/milestone/6
Here are the corresponding Maven packages:
https://mvnrepository.com/artifact/com.microsoft.azure/azure-eventhubs/0.14.0
https://mvnrepository.com/artifact/com.microsoft.azure/azure-eventhubs-eph/0.14.0
0.13.1
com.microsoft.azure.eventhubs
- Bug fixes:
For more details regarding the issues/pull requests in the latest release, see: https://github.com/Azure/azure-event-hubs-java/milestone/7
Here are the corresponding Maven packages:
https://mvnrepository.com/artifact/com.microsoft.azure/azure-eventhubs/0.13.1
https://mvnrepository.com/artifact/com.microsoft.azure/azure-eventhubs-eph/0.13.1
0.13.0
com.microsoft.azure.eventhubs
- Breaking changes
- Simplified
EventData
by deprecating thegetBody*
API's. As such, the following methods have been deprecated (#81):EventData.getBody()
replaced withEventData.getBytes()
EventData.getBodyOffset()
EventData.getBodyLength()
- Simplified
- Enhancements
- Added
EventData.getObject()
for those who want advanced AMQP functionality. This is particularly useful for those who use multiple third-party AMQP libraries. This will return a generic Java objects from the underlying proton-j library (#81)
- Added
- Bug fixes:
- Fixes an AMQP interoperability issue where the AMQP body could be of type
AmqpValue
orAmqpSequence
(#66).
- Fixes an AMQP interoperability issue where the AMQP body could be of type
For more details regarding the issues/pull requests in the latest release, see: https://github.com/Azure/azure-event-hubs-java/milestone/5
Here are the corresponding Maven packages:
https://mvnrepository.com/artifact/com.microsoft.azure/azure-eventhubs/0.13.0
https://mvnrepository.com/artifact/com.microsoft.azure/azure-eventhubs-eph/0.13.0
0.12.0
Release 0.12.0 (#76) * Optimization: flow the Receiver runtime info as part of EventData (#65) * Optimization: flow the Receiver runtime info as part of EventData - Partition receiver runtime metrics aka EndOfStream info * move cursor to 0.12.0-snapshot * receiverruntimemetrics on PartitionReceiver & eph + junits * improve cit coverage * Fix issue 58: deliver empty iterable to onEvents on timeout * fix: eventData deserialization error, when the payload size is >1000bytes (#71) * EventData deserialization fails when the payload size is >1000bytes * move to readFully api (suggestion from @CodingCat) * releaseChecklist: fix javadoc & update version to 0.12.0 (#73) * eph test fix - absorb all events sent by RuntimeInfotest to not effect other tests * runtimeinfo: refactoring for CR (#80) * runtimeinfo: refactoring for CR * minor refactor * update eph test * fix exception contract for link-detach errors - this should be a transient error (#78)
0.11.0
com.microsoft.azure.eventhubs
- The
EventData.ApplicationProperties
is now aMap<String, object>
. This is a breaking change. (#50) - Fixes error thrown when trying to use a custom RetryPolicy (#6)
com.microsoft.azure.eventprocessorhost
- Allows for logging level to be configurable in EPH (#48) and also added additional EventProcessorHost tracing (#60)
- Updated Azure Storage client version to 5.0.0 (#46)
For more details regarding the issues/pull requests in the latest release, see: https://github.com/Azure/azure-event-hubs-java/milestone/2
Here are the corresponding Maven packages:
https://mvnrepository.com/artifact/com.microsoft.azure/azure-eventhubs/0.11.0
https://mvnrepository.com/artifact/com.microsoft.azure/azure-eventhubs-eph/0.11.0
0.10.0
com.microsoft.azure.eventhubs
- Added support for SAS tokens. (#28)
com.microsoft.azure.eventprocessorhost
- Each instance of EventProcessorHost internally does a sweep of all leases of all partitions every ten seconds. Prior to this fix, if a new checkpoint was created and then certain other kinds of updates occurred before the next sweep, such as shutting down the instance, then the new checkpoint could be lost. (#23)
For more details regarding the issues/pull requests in the latest release, see: https://github.com/Azure/azure-event-hubs-java/milestone/1
Here are the corresponding Maven packages:
https://mvnrepository.com/artifact/com.microsoft.azure/azure-eventhubs/0.10.0
https://mvnrepository.com/artifact/com.microsoft.azure/azure-eventhubs-eph/0.10.0
0.9.0
com.microsoft.azure.eventhubs
- Fixes issue where thread was left running after shutdown (Azure/azure-event-hubs/issues/283)
com.microsoft.azure.eventprocessorhost
- Fixes an issue where the EPH stops receiving when IllegalArgumentException is thrown. (Azure/azure-event-hubs/issues/200).
- EPH exposes a new API which allows users to provide their own ExecutorService.
Here are the corresponding Maven packages:
https://mvnrepository.com/artifact/com.microsoft.azure/azure-eventhubs/0.9.0
https://mvnrepository.com/artifact/com.microsoft.azure/azure-eventhubs-eph/0.9.0
0.8.2
- The client update primarily involves
- fix retrycount accounting issue in error handling code
- modifies the experience of
PartitionReceiveHandler.onReceive
- doesn't invoke the callback with no events (default behavior change) - Adds client and platform information to the outgoing
AmqpConnection.Properties
to EventHubs Service
- List of Issues & PR's of this release: https://github.com/Azure/azure-event-hubs/milestone/4?closed=1
API Changes
New API
PartitionReceiver.setReceiveHandler(receiveHandler, invokeWhenNoEvents)