Skip to content

Releases: apache/pulsar-client-go

v0.14.0

30 Sep 01:52
v0.14.0
630d5f8
Compare
Choose a tag to compare

Important notice

  • The client has dropped support for Go 1.20. The minimum supported version is now Go
    1.21. (Related PR)
  • The BackoffPolicy interface and related methods has been moved to the backoff package from the internal package.
    The BackoffPolicy interface is renamed to
    Policy. (Related PR)

What's Changed

  • [improve] Install golang by image in the Dockerfile by @nodece in #1246
  • [ci] Validate multiple version builds and use golangci-lint-action by @nodece in #1250
  • [ci] Add merge limitation by @nodece in #1248
  • [fix] Fix the key-based batch can't guarantee the ordering when flushing by @RobertIndie in #1252
  • [fix] FailTimeoutMessages cannot delete outdated messages by @nodece in #1247
  • [fix] Fix pulsar admin revoke subscription permission endpoint by @NoFacePeace in #1251
  • [fix] Producer close was blocked by @nodece in #1249
  • [fix] PulsarCtl 1266 Oauth2 Client credentials flow use scopes from the keyfile as well by @Nikolajls in #1244
  • [feat] Add support for subscription expiration time namespace settings by @klevy-toast in #1254
  • [fix] Prevent panic when calling Flush on closed producer by @Gilthoniel in #1260
  • [fix] Avoid a data race when flushing with load by @Gilthoniel in #1261
  • [improve] Add InitialSubscriptionName for DLQPolicy by @crossoverJie in #1264
  • [fix] Peek message will return -1 for partitionIndex by @shibd in #1267
  • [chore] Bump github.com/docker/docker from 27.0.3+incompatible to 27.1.1+incompatible by @dependabot in #1269
  • [feat] Support the namespace offloadThresholdInSeconds API in pulsaradmin pkg by @ericsyh in #1271
  • [fix] Stop timer when close timedAckGroupingTracker by @geniusjoe in #1279
  • [improve] Refactor connection concurrency model by @Gilthoniel in #1275
  • [fix] Attempt to avoid deadlock during reconnection by @Gilthoniel in #1273
  • [fix] Fixed panic caused by memory not aligned in arm32 arch by @dream-kzx in #1286
  • [fix] Reconnection logic and Backoff policy doesn't work correctly by @crossoverJie in #1197

New Contributors

v0.13.1

09 Aug 10:10
v0.13.1
Compare
Choose a tag to compare
  • [fix] Avoid a data race when flushing with load by Gaylor Bosson in #1261
  • [fix] Prevent panic when calling Flush on closed producer by Gaylor Bosson in #1260
  • [fix] Producer close was blocked by Zixuan Liu in #1249
  • [ci] Validate multiple version builds and use golangci-lint-action by Zixuan Liu in #1250
  • [fix] Fix pulsar admin revoke subscription permission endpoint by 码斯克 in #1251
  • [fix] failTimeoutMessages cannot delete outdated messages by Zixuan Liu in #1247
  • [fix] Oauth2 Client credentials flow use scopes from the keyfile as well by Nikolaj Lund Sørensen in #1244
  • [fix] Fix the key-based batch can't guarantee the ordering when flushing by Zike Yang in #1252

Full Changelog: v0.13.0...v0.13.1

v0.13.0

22 Jul 03:43
v0.13.0
Compare
Choose a tag to compare

Important notice

  • The avro schema codec has been changed from github.com/linkedin/goavro/v2 to github.com/hamba/avro/v2.
  • pulsar.NewSchemaDefinition has been removed. Use pulsar.NewAvroSchema instead.
  • The client has dropped support for Go 1.18 and 1.19. The minimum supported version is now Go 1.20.

What's Changed

New Contributors

v0.12.1

08 Mar 10:27
v0.12.1
Compare
Choose a tag to compare

What's Changed

v0.12.0

29 Jan 01:40
v0.12.0
Compare
Choose a tag to compare

What's Changed

  • Improved the performance of schema and schema cache by @gunli in #1033
  • Fixed return when registerSendOrAckOp() failed by @gunli in #1045
  • Fixed the incorrect link in the release process by @RobertIndie in #1050
  • Fixed Producer by checking if message is nil by @gunli in #1047
  • Added 0.11.0 change log by @RobertIndie in #1048
  • Fixed 0.11.0 change log by @RobertIndie in #1054
  • Fixed issue 877 where ctx in partitionProducer.Send() was not performing as expected by @Gleiphir2769 in #1053
  • Fixed Producer by stopping block request even if Value and Payload are both set by @gunli in #1052
  • Improved Producer by simplifying the flush logic by @gunli in #1049
  • Fixed issue 1051: inaccurate producer memory limit in chunking and schema by @Gleiphir2769 in #1055
  • Fixed issue by sending Close Command on Producer/Consumer create timeout by @michaeljmarshall in #1061
  • Fixed issue 1057: producer flush operation is not guaranteed to flush all messages by @Gleiphir2769 in #1058
  • Fixed issue 1064: panic when trying to flush in DisableBatching=true by @Gleiphir2769 in #1065
  • Fixed transaction acknowledgement and send logic for chunk message by @liangyepianzhou in #1069
  • Fixed issue by closing consumer resources if creation fails by @michaeljmarshall in #1070
  • Fixed issue where client reconnected every authenticationRefreshCheckSeconds when using TLS authentication by @jffp113 in #1062
  • Corrected the SendAsync() description by @Gleiphir2769 in #1066
  • CI: replaced license header checker and formatter by @tisonkun in #1077
  • Chore: allowed rebase and merge by @tisonkun in #1080
  • Adopted pulsar-admin-go sources by @tisonkun in #1079
  • Reverted: allowed rebase and merge by @tisonkun in #1081
  • Fixed producer by failing all messages that are pending requests when closing like Java by @graysonzeng in #1059
  • Supported load config from env by @tuteng in #1089
  • Fixed issue where multiple calls to client.Close causes panic by @crossoverJie in #1046
  • Improved client by implementing GetLastMSgID for Reader by @liangyepianzhou in #1087
  • Fixed comment for ConnectionMaxIdleTime by @massakam in #1091
  • Issue 1094: connectionTimeout respects net.Dialer default timeout by @zzzming in #1095
  • Supported OAuth2 with scope field by @labuladong in #1097
  • Fixed issue where DisableReplication flag does not work by @massakam in #1100
  • Double-checked before consumer reconnect by @zccold in #1084
  • Fixed schema error by @leizhiyuan in #823
  • PR-1071-1: renamed pendingItem.Complete() to pendingItem.done() by @gunli in #1109
  • PR-1071-2: added sendRequest.done() to release resource together by @gunli in #1110
  • Refactor: factored out validateMsg by @tisonkun in #1117
  • Refactor: factored out prepareTransaction by @tisonkun in #1118
  • Completed comment on ProducerInterceptor interface BeforeSend method by @ojcm in #1119
  • Refactor: prepared sendrequest and moved to internalSendAsync by @tisonkun in #1120
  • Fix: normalized all send request resource release into sr.done by @tisonkun in #1121
  • Improvement: added func blockIfQueueFull() to encapsulate DisableBlockIfQue… by @gunli in #1122
  • Improved debug log clarity in ReceivedSendReceipt() by @gunli in #1123
  • Fixed issue 1098 by checking batchBuilder in case batch is disabled by @zzzming in #1099
  • Fixed Producer by fixing reconnection backoff logic by @gunli in #1125
  • Added 0.11.1 change log by @RobertIndie in #1092
  • Fixed dead link to the KEYS file in the release process by @RobertIndie in #1127
  • Improved performance by pooling sendRequest by @gunli in #1126
  • Fixed argument order to Errorf in TableView message handling by @ojcm in #1130
  • Fixed Producer by double-checking before reconnect by @gunli in #1131
  • Fixed issue where client must not retry connecting to broker when topic is terminated by @pkumar-singh in #1128
  • Issue 1132: Fixed JSONSchema unmarshalling in TableView by @ojcm in #1133
  • Improved by setting dlq producerName by @crossoverJie in #1137
  • Fixed channel deadlock in regexp consumer by @goncalo-rodrigues in #1141
  • Fixed Producer: handled TopicNotFound/TopicTerminated/ProducerBlockedQuotaExceededException/ProducerFenced when reconnecting by @gunli in #1134
  • Transaction: Avoided a panic when using transaction by @Gilthoniel in #1144
  • Improved by updating connection.lastDataReceivedTime when connection is ready by @gunli in #1145
  • Improved Producer by normalizing and exporting the errors by @gunli in #1143
  • Updated Unsubscribe() interface comment by @geniusjoe in #1146
  • Issue 1105: Fixed AutoTopicCreation for type non-partitioned by @tomjo in #1107
  • Added test for admin topic creation by @RobertIndie in #1152
  • Implemented GetTopicAutoCreation by @jiangpengcheng in #1151
  • Bumped github.com/dvsekhvalnov/jose2go from 1.5.0 to 1.6.0 by @dependabot in #1150
  • Bump golang.org/x/net from 0.0.0-20220225172249-27dd8689420f to 0.17.0 by @BewareMyPower in #1155
  • Fix DLQ producer name conflicts when multiples consumers send messages to DLQ by @crossoverJie in #1156

New Contributors

v0.11.1

07 Nov 10:55
v0.11.1
Compare
Choose a tag to compare

Improve

Full Changelog: v0.11.0...v0.11.1-candidate-1

v0.11.0

10 Jul 09:12
v0.11.0
Compare
Choose a tag to compare

Features

Improve

New Contributors

Full Changelog: v0.10.0...v0.11.0

v0.10.0

03 Apr 07:22
v0.10.0
Compare
Choose a tag to compare

Feature

Improve

New Contributors

v0.9.0

09 Oct 02:31
dd63a4c
Compare
Choose a tag to compare

What's Changed

  • add 0.8.0 changelog for repo by @wolfstudy in #727
  • [Issue 729]stop ticker when create producer failed by @NaraLuwan in #730
  • Update version file to 0.8.0 by @wolfstudy in #728
  • [Issue 725][Dependencies] Upgrade beefsack/go-rate by @shubham1172 in #735
  • Upgrade klauspost/compress to v1.14.4 by @dferstay in #740
  • Upgrade prometheus client to 1.11.1 by @nicoloboschi in #738
  • add 0.8.1 changelog by @freeznet in #742
  • Temporarily point ci to pulsar 2.8.2 by @shoothzj in #747
  • [build] make go version consistent by @shoothzj in #751
  • Exposing broker metadata by @shoothzj in #745
  • Add schema support to Reader by @ZiyaoWei in #741
  • allow config reader subscription name by @shoothzj in #754
  • Cleanup topics after unit tests by @ZiyaoWei in #755
  • Add TableView support by @ZiyaoWei in #743
  • Fix ack timeout cause reconnect by @wolfstudy in #756
  • fix: add service not ready check by @nodece in #757
  • Dlq producer on topic with schema by @GPrabhudas in #723
  • fix annotation typo in consumer.go by @shoothzj in #758
  • Fix producer unable register when cnx closed by @wolfstudy in #761
  • Add -c/--max-connections parameter to pulsar-perf-go and set it to 1 by default by @lhotari in #765
  • [Issue 763][producer] Fix deadlock in Producer Send when message fails to encode. by @samuelhewitt in #762
  • [Issue 749]Fix panic caused by flushing current batch with an incorrect internal function. by @shileiyu in #750
  • Add consumer state check when request commands by @wolfstudy in #772
  • Fix sequenceID is not equal to cause the connection to be closed incorrectly by @wolfstudy in #774
  • Add error response for Ack func by @wolfstudy in #775
  • Revert "Fix stuck when reconnect broker (#703)" by @lhotari in #767
  • [Issue 718] Fix nil pointer dereference in TopicNameWithoutPartitionPart by @hantmac in #734
  • Support ack response for Go SDK by @wolfstudy in #776
  • [Issue 779]Fix ack request not set requestId when enable AckWithResponse option by @liushengzhong0927 in #780
  • [issue 791] allow to add at least one message on batch builder by @zzzming in #792
  • schema creation and validation functions without panicing by @zzzming in #794
  • [github ci] add go 1.18 to the test matrix by @pgier in #790
  • Fix using closed connection in consumer by @hrsakai in #785
  • feat: add basic authentication by @nodece in #778
  • [Issue 781][add consumer seek by time on partitioned topic] by @GPrabhudas in #782
  • [ci] update and simplify GitHub workflow by @pgier in #796
  • feat: support multiple schema version for producer and consumer by @oryx2 in #611
  • [issue #752] replace go-rate rate limiter with a buffered channel implementation by @zzzming in #799
  • [issue 814] consumer and producer reconnect failure metrics counter by @zzzming in #815
  • [cleanup] Fix to follow lint error (File is not goimports-ed (goimports)) by @equanz in #824
  • [oauth2] Remove oauth2 go.mod and go.sum by @pgier in #802
  • [client] Rename test_helper.go to follow the test code naming convention by @equanz in #822
  • [security] Bump github.com/stretchr/testify to update gopkg.in/yaml.v3 by @massakam in #813
  • [client] Add MetricsRegisterer to ClientOptions by @pragkent in #826
  • NackBackoffPolicy.Next return time.Duration by @h-hy in #825
  • Add golang 1.19 in test matrix by @shoothzj in #832
  • ci: add makefile by @pgier in #800
  • Make keepalive interval configurable by @nodece in #838
  • [issue #807] dlq topic producer options by @zzzming in #809
  • [log-format] remove redundant "[]" pair in the head and tail of log content by @shenqianjin in #831
  • Update proto file latest by @liangyuanpeng in #841
  • [bugfix] Fix wrong check eventime by default by @liangyuanpeng in #843
  • Fixs : NackBackoffPolicy.Next return time.Duration by @h-hy in #834
  • Introduce doneCh for ack error by @wolfstudy in #777
  • Parameterize the reconnection option by @wolfstudy in #853
  • add 0.9.0 release changelog by @freeznet in #804
  • Embed Go SDK version to 0.9.0 by @wolfstudy in #854

New Contributors

Full Changelog: v0.8.0...v0.9.0

v0.8.1

15 Mar 09:03
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.8.0...v0.8.1