forked from apache/pulsar-client-go
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from Fanatics/producer-issue
Producer issue
- Loading branch information
Showing
62 changed files
with
3,704 additions
and
930 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,7 +36,7 @@ CGo based library. | |
|
||
## Requirements | ||
|
||
- Go 1.11+ | ||
- Go 1.15+ | ||
|
||
## Status | ||
|
||
|
@@ -72,8 +72,9 @@ defer producer.Close() | |
|
||
if err != nil { | ||
fmt.Println("Failed to publish message", err) | ||
} else { | ||
fmt.Println("Published message") | ||
} | ||
fmt.Println("Published message") | ||
``` | ||
|
||
Create a Consumer: | ||
|
@@ -133,6 +134,16 @@ for reader.HasNext() { | |
} | ||
``` | ||
|
||
## Build and Test | ||
|
||
Build the sources: | ||
|
||
go build ./pulsar | ||
|
||
Run the unit tests: | ||
|
||
./docker-ci.sh | ||
|
||
## Contributing | ||
|
||
Contributions are welcomed and greatly appreciated. See [CONTRIBUTING.md](CONTRIBUTING.md) for details on submitting patches and the contribution workflow. | ||
|
@@ -141,8 +152,8 @@ Contributions are welcomed and greatly appreciated. See [CONTRIBUTING.md](CONTRI | |
|
||
##### Mailing lists | ||
|
||
| Name | Scope | | | | | ||
|:------------------------------------------------------------------------------|:--------------------------------|:----------------------------------------------------------------|:--------------------------------------------------------------------|:-----------------------------------------------------------------------------| | ||
| Name | Scope | | | | | ||
|:----------------------------------------------------------|:--------------------------------|:------------------------------------------------------|:----------------------------------------------------------|:-------------------------------------------------------------------| | ||
| [[email protected]](mailto:[email protected]) | User-related discussions | [Subscribe](mailto:[email protected]) | [Unsubscribe](mailto:[email protected]) | [Archives](http://mail-archives.apache.org/mod_mbox/pulsar-users/) | | ||
| [[email protected]](mailto:[email protected]) | Development-related discussions | [Subscribe](mailto:[email protected]) | [Unsubscribe](mailto:[email protected]) | [Archives](http://mail-archives.apache.org/mod_mbox/pulsar-dev/) | | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
// This version number refers to the currently released version number | ||
// Please fix the version when release. | ||
v0.6.0 | ||
v0.8.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,29 @@ | ||
module github.com/apache/pulsar-client-go | ||
|
||
go 1.13 | ||
go 1.15 | ||
|
||
require ( | ||
github.com/AthenZ/athenz v1.10.15 | ||
github.com/DataDog/zstd v1.4.6-0.20210211175136-c6db21d202f4 | ||
github.com/apache/pulsar-client-go/oauth2 v0.0.0-20201120111947-b8bd55bc02bd | ||
github.com/beefsack/go-rate v0.0.0-20180408011153-efa7637bb9b6 | ||
github.com/AthenZ/athenz v1.10.39 | ||
github.com/DataDog/zstd v1.5.0 | ||
github.com/apache/pulsar-client-go/oauth2 v0.0.0-20220120090717-25e59572242e | ||
github.com/beefsack/go-rate v0.0.0-20220214233405-116f4ca011a0 | ||
github.com/bmizerany/perks v0.0.0-20141205001514-d9a9656a3a4b | ||
github.com/davecgh/go-spew v1.1.1 | ||
github.com/gogo/protobuf v1.3.2 | ||
github.com/golang/protobuf v1.4.2 | ||
github.com/golang/protobuf v1.5.2 | ||
github.com/google/uuid v1.1.2 | ||
github.com/inconshreveable/mousetrap v1.0.0 // indirect | ||
github.com/klauspost/compress v1.10.8 | ||
github.com/klauspost/compress v1.14.4 | ||
github.com/linkedin/goavro/v2 v2.9.8 | ||
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect | ||
github.com/modern-go/reflect2 v1.0.1 // indirect | ||
github.com/opentracing/opentracing-go v1.2.0 | ||
github.com/pierrec/lz4 v2.0.5+incompatible | ||
github.com/pkg/errors v0.9.1 | ||
github.com/prometheus/client_golang v1.7.1 | ||
github.com/sirupsen/logrus v1.4.2 | ||
github.com/prometheus/client_golang v1.11.1 | ||
github.com/sirupsen/logrus v1.6.0 | ||
github.com/spaolacci/murmur3 v1.1.0 | ||
github.com/spf13/cobra v0.0.3 | ||
github.com/spf13/pflag v1.0.3 // indirect | ||
github.com/stretchr/testify v1.5.1 | ||
github.com/spf13/cobra v1.2.1 | ||
github.com/stretchr/testify v1.7.0 | ||
go.uber.org/atomic v1.7.0 | ||
golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d | ||
golang.org/x/oauth2 v0.0.0-20210402161424-2e8d93401602 | ||
) | ||
|
||
replace github.com/apache/pulsar-client-go/oauth2 => ./oauth2 |
Oops, something went wrong.