feat: support nameserver resolver (#457)

use nameserver resolver instead of nameserver address, we can pass
passThrough for direct address, httpResolver for a domain, an env resolver
for env param.
50 files changed
tree: 676a30fdeb78cca29c1abf2997115760a987d1dc
  1. .github/
  2. .gitignore
  3. .golangci.yml
  4. .travis.yml
  9. README.md
  10. api.go
  11. benchmark/
  12. config.go
  13. consumer/
  14. docs/
  15. errors.go
  16. examples/
  17. go.mod
  18. go.sum
  19. internal/
  20. primitive/
  21. producer/
  22. rlog/

RocketMQ Client Go

License TravisCI Coverage GitHub release Average time to resolve an issue Percentage of issues still open Twitter Follow

This is the first product ready RocketMQ Client in pure go, it supports almost the full features of Apache RocketMQ, sunch as pub and sub messages, ACL, tracing and so on, there are many works need to continue for this project, like unit test, integration test, stable test, new feature, optimization, documents, etc. and any contribution is very welcome. if you want do something, please browse issue list and select one, or create a new issue.

Here, we sincerely invite you to take a minute to feedback on your usage scenario. Click Here or go to ISSUE #423 if you accept.


For 2.0.0 version, it supports:

  • sending message in synchronous mode
  • sending message in asynchronous mode
  • sending message in oneway mode
  • sending orderly messages
  • consuming message using push model
  • message tracing for pub and sub messages
  • ACL for producers and consumers

How to use

Apache RocketMQ Community

Contact us

How to Contribute

Contributions are warmly welcome! Be it trivial cleanup, major new feature or other suggestion. Read this how to contribute guide for more details.


Apache License, Version 2.0 Copyright (C) Apache Software Foundation