Releases: Azure/azure-event-hubs-java
3.0.2 and Event Processor Host 3.0.2
Fix: enforce a timeout to detect TCP connections which have failed silently (no error from the socket). If the client does not receive any regular activity or heartbeat on a connection for one minute, the connection is shut down and recreated.
Fix: sending uses an internal pipe to signal Proton-J, and the pipe could sometimes fill up with redundant signals, causing a stall. Do not signal if Proton-J is already handling sends.
Addition: method PartitionReceiver.getIsOpen() added to help the Spark connector.
There are no changes to Event Processor Host except updating the dependency to the new client.
This release was made from the Azure SDK for Java repository. This repository is deprecated and the code here is for historical purposes only. See these tags for the code base for this release:
https://github.com/Azure/azure-sdk-for-java/releases/tag/azure-eventhubs_3.0.2
https://github.com/Azure/azure-sdk-for-java/releases/tag/azure-eventhubs-eph_3.0.2
https://github.com/Azure/azure-sdk-for-java/releases/tag/azure-eventhubs-extensions_3.0.2
Maven packages:
https://mvnrepository.com/artifact/com.microsoft.azure/azure-eventhubs/3.0.2
https://mvnrepository.com/artifact/com.microsoft.azure/azure-eventhubs-eph/3.0.2
https://mvnrepository.com/artifact/com.microsoft.azure/azure-eventhubs-extensions/3.0.2
3.0.1 and Event Processor Host 3.0.1
Fix: when a receiver gets a link error, ignore it if it is not for the link currently in use. Without this check, in the rare event that an error was received on a stale link, the prefetch buffer was flushed and the flushed messages were not presented to the calling application.
There are no changes to Event Processor Host except updating the dependency to the new client.
This release was made from the Azure SDK for Java repository. This repository is deprecated and the code here is for historical purposes only. See these tags for the code base for this release:
https://github.com/Azure/azure-sdk-for-java/releases/tag/azure-eventhubs_3.0.1
https://github.com/Azure/azure-sdk-for-java/releases/tag/azure-eventhubs-eph_3.0.1
https://github.com/Azure/azure-sdk-for-java/releases/tag/azure-eventhubs-extensions_3.0.1
Maven packages:
https://mvnrepository.com/artifact/com.microsoft.azure/azure-eventhubs/3.0.1
https://mvnrepository.com/artifact/com.microsoft.azure/azure-eventhubs-eph/3.0.1
https://mvnrepository.com/artifact/com.microsoft.azure/azure-eventhubs-extensions/3.0.1
3.0.0 and Event Processor Host 3.0.0
Adds Role-Based Access Control (RBAC) support. The methods used to create instances of EventHubClient and EventProcessorHost have changed significantly to accommodate the added types of authentication.
There is a sample for using RBAC at https://github.com/Azure/azure-event-hubs/tree/master/samples/Java/Rbac
The other samples (for example, https://github.com/Azure/azure-event-hubs/tree/master/samples/Java/Basic/SendBatch and https://github.com/Azure/azure-event-hubs/tree/master/samples/Java/Basic/EventProcessorSample) are still intended for use with connection strings and demonstrate the API changes there.
This release was made from the Azure SDK for Java repository. This repository is deprecated and the code here is for historical purposes only. See these tags for the code base for this release:
https://github.com/Azure/azure-sdk-for-java/releases/tag/azure-eventhubs_3.0.0
https://github.com/Azure/azure-sdk-for-java/releases/tag/azure-eventhubs-eph_3.0.0
https://github.com/Azure/azure-sdk-for-java/releases/tag/azure-eventhubs-extensions_3.0.0
Maven packages:
https://mvnrepository.com/artifact/com.microsoft.azure/azure-eventhubs/3.0.0
https://mvnrepository.com/artifact/com.microsoft.azure/azure-eventhubs-eph/3.0.0
https://mvnrepository.com/artifact/com.microsoft.azure/azure-eventhubs-extensions/3.0.0
2.3.2
com.microsoft.azure.eventhubs
Improvements
- Fix an issue of failing to recreate a requestresponse opener object in case of connection failures (#446)
Here's the corresponding Maven package:
https://mvnrepository.com/artifact/com.microsoft.azure/azure-eventhubs/2.3.2
Event Processor Host 2.5.2
com.microsoft.azure.eventprocessorhost
This release consists of Event Processor Host 2.5.2, which works with Java Event Hubs Client version 2.3.2.
Here is the corresponding Maven package: https://www.mvnrepository.com/artifact/com.microsoft.azure/azure-eventhubs-eph/2.5.2
2.3.1
com.microsoft.azure.eventhubs
Improvements
- Update prefetch count for a receiver (#441)
- Fix an issue of creating multiple sessions for $management & $cbs channel for a single connection and improve logging (#443)
Here's the corresponding Maven package:
https://mvnrepository.com/artifact/com.microsoft.azure/azure-eventhubs/2.3.1
Event Processor Host 2.5.1
com.microsoft.azure.eventprocessorhost
This release consists of Event Processor Host 2.5.1, which works with Java Event Hubs Client version 2.3.1.
Here is the corresponding Maven package: https://www.mvnrepository.com/artifact/com.microsoft.azure/azure-eventhubs-eph/2.5.1
2.3.0
com.microsoft.azure.eventhubs
Improvements
- Support digest auth to proxy when using websockets
- Testability enhancements to EventData (#435)
Fixes
- Convert I/O errors to CommunicationException, with useful generic message when no further information is available. (#427)
- Fix null pointer error and ensure that receive link is recreated on failure (#439)
Here is the corresponding Maven package:
https://mvnrepository.com/artifact/com.microsoft.azure/azure-eventhubs/2.3.0
Event Processor Host 2.5.0
com.microsoft.azure.eventprocessorhost
This release consists of Event Processor Host 2.5.0, which works with Java Event Hubs Client version 2.3.0.
Fixes
Here is the corresponding Maven package:
https://mvnrepository.com/artifact/com.microsoft.azure/azure-eventhubs-eph/2.5.0