You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes issue where lastEnqueuedEventProperties is null for empty window. (Azure#27363)
* Adding test for PartitionPump
* Adding startPartitionPump tests for PartitionPumpManager.
* Adding test for stopping.
* Update PartitionPump to keep track of last received event properties.
* Update PartitionPumpManager to keep track of lastEnqueuedProperties and use those when a batch is empty.
* Adding test case to ensure enqueued properties updated.
* Updating CHANGELOG
Copy file name to clipboardExpand all lines: sdk/eventhubs/azure-messaging-eventhubs/CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,7 @@
9
9
### Bugs Fixed
10
10
11
11
- Removed the incorrect lock from `EventDataBatch.tryAdd()` implementation and documented that this API is not thread-safe. ([#25910](https://github.com/Azure/azure-sdk-for-java/issues/25910))
12
+
- Fixed a bug where users get a NullPointerException when getting `LastEnqueuedEventProperties` for an empty window. ([#27121](https://github.com/Azure/azure-sdk-for-java/issues/27121))
Copy file name to clipboardExpand all lines: sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/PartitionPumpManager.java
0 commit comments