BSD 2-Clause "Simplified" License

项目介绍

streadway/amqp 是一个托管在 GitHub 上的开源项目,主要使用 Go 编写,采用 BSD 2-Clause "Simplified" License 许可证,目前获得 4.9k 个 Star、606 次 Fork。

仓库全名
streadway/amqp
开源许可证
BSD 2-Clause "Simplified" License
Star 数
4.9k
Fork 数
606
未关闭 Issue
94

README 摘要

Go RabbitMQ Client Library (Unmaintained Fork) Beware of Abandonware This repository is NOT ACTIVELY MAINTAINED. Consider using a different fork instead: rabbitmq/amqp091-go. In case of questions, start a discussion in that repo or use other RabbitMQ community resources. Project Maturity This project has been used in production systems for many years. As of 2022, this repository is NOT ACTIVELY MAINTAINED. This…

完整内容见 GitHub 原始 README 或本页 。

常见问题

amqp 用什么语言开发?

主要使用 Go 编写,采用 BSD 2-Clause "Simplified" License 许可证,目前有 4.9k 个 Star。

amqp 可以免费商用吗?

仓库采用 BSD 2-Clause "Simplified" License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 amqp 的源码?

可以直接克隆仓库:git clone https://github.com/streadway/amqp.git,默认分支为 master;安装与运行步骤见仓库 README。

amqp 最近还在维护吗?

仓库最近一次更新为 2023年9月7日,当前有 94 个未关闭 Issue;Star 数为 4.9k,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Go client for AMQP 0.9.1

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
6227
价值分
3137
活跃状态
活跃

语言占比

Go
Shell

README

Build Status GoDoc

Go RabbitMQ Client Library (Unmaintained Fork)

Beware of Abandonware

This repository is NOT ACTIVELY MAINTAINED. Consider using a different fork instead: rabbitmq/amqp091-go. In case of questions, start a discussion in that repo or use other RabbitMQ community resources.

Project Maturity

This project has been used in production systems for many years. As of 2022, this repository is NOT ACTIVELY MAINTAINED.

This repository is very strict about any potential public API changes. You may want to consider rabbitmq/amqp091-go which is more willing to adapt the API.

Supported Go Versions

This library supports two most recent Go release series, currently 1.10 and 1.11.

Supported RabbitMQ Versions

This project supports RabbitMQ versions starting with 2.0 but primarily tested against reasonably recent 3.x releases. Some features and behaviours may be server version-specific.

Goals

Provide a functional interface that closely represents the AMQP 0.9.1 model targeted to RabbitMQ as a server. This includes the minimum necessary to interact the semantics of the protocol.

Non-goals

Things not intended to be supported.

  • Auto reconnect and re-synchronization of client and server topologies.
    • Reconnection would require understanding the error paths when the topology cannot be declared on reconnect. This would require a new set of types and code paths that are best suited at the call-site of this package. AMQP has a dynamic topology that needs all peers to agree. If this doesn’t happen, the behavior is undefined. Instead of producing a possible interface with undefined behavior, this package is designed to be simple for the caller to implement the necessary connection-time topology declaration so that reconnection is trivial and encapsulated in the caller’s application code.
  • AMQP Protocol negotiation for forward or backward compatibility.
    • 0.9.1 is stable and widely deployed. Versions 0.10 and 1.0 are divergent specifications that change the semantics and wire format of the protocol. We will accept patches for other protocol support but have no plans for implementation ourselves.
  • Anything other than PLAIN and EXTERNAL authentication mechanisms.
    • Keeping the mechanisms interface modular makes it possible to extend outside of this package. If other mechanisms prove to be popular, then we would accept patches to include them in this package.

Usage

See the ‘examples’ subdirectory for simple producers and consumers executables. If you have a use-case in mind which isn’t well-represented by the examples, please file an issue.

Documentation

Use Godoc documentation for reference and usage.

RabbitMQ tutorials in Go are also available.

Contributing

Pull requests are very much welcomed. Create your pull request on a non-master branch, make sure a test or example is included that covers your change and your commits represent coherent changes that include a reason for the change.

To run the integration tests, make sure you have RabbitMQ running on any host, export the environment variable AMQP_URL=amqp://host/ and run go test -tags integration. TravisCI will also run the integration tests.

Thanks to the community of contributors.

External packages

License

BSD 2 clause - see LICENSE for more details.

评论

暂无评论