Skip to content

Releases: Azure/azure-event-hubs-java

3.0.2 and Event Processor Host 3.0.2

24 Oct 22:18
Compare
Choose a tag to compare

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

24 Oct 22:08
Compare
Choose a tag to compare

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

24 Oct 21:49
Compare
Choose a tag to compare

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

07 Jun 00:18
Compare
Choose a tag to compare

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

07 Jun 00:20
Compare
Choose a tag to compare

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

02 May 04:39
Compare
Choose a tag to compare
2.3.1 Pre-release
Pre-release

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

02 May 04:41
Compare
Choose a tag to compare
Pre-release

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

08 Apr 17:00
Compare
Choose a tag to compare

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

08 Apr 17:01
Compare
Choose a tag to compare

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

  • Minor fixes to lease scanner (#428)
  • Fix lease scanner failing when Storage unreachable (#434)

Here is the corresponding Maven package:
https://mvnrepository.com/artifact/com.microsoft.azure/azure-eventhubs-eph/2.5.0

2.2.0

16 Jan 03:15
Compare
Choose a tag to compare

com.microsoft.azure.eventhubs

Improvements

  • Update prefetch sendflow logic (#420)
  • Fix args for proxy auth call to Authenticator (#421)

Here's the corresponding Maven package:
https://mvnrepository.com/artifact/com.microsoft.azure/azure-eventhubs/2.2.0