apache / pulsar-dotpulsar

The official .NET client library for Apache Pulsar
https://pulsar.apache.org/
Apache License 2.0
234 stars 62 forks source link

Handle Pulsar Token bug in affected versions #221

Closed entvex closed 4 months ago

entvex commented 5 months ago

Description

The commit updates the used images of ToxiProxy and Pulsar in tests from versions 2.7.0 and 3.1.3 to 2.9.0 and 3.2.3 respectively to keep up with the latest versions.

The issue arises because Apache Pulsar incorrectly treats seconds as milliseconds in specific versions. To address this, we multiply the value by 1000 when using affected versions.

Finally, I added a missing cancellation token in ConnectionPool.

Testing

All tests now works on the newest Apache Pulsar version