amqp
Benthos
amqp | Benthos | |
---|---|---|
6 | 76 | |
4,801 | 7,586 | |
- | 2.3% | |
1.9 | 9.7 | |
8 months ago | 4 days ago | |
Go | Go | |
BSD 2-clause "Simplified" License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
amqp
-
message brokers, a brief walk-through
Basically this code, connects to our rabbitmQ using the streadway/amqp package which is the golang standard library for communicating with rabbitmQ, next we declare a unique channel to enable us pass across message to a specific queue. Then we call the Consume function which takes in a parameter of *amqp.Channel which is the channel we created previously.
-
How to plan and execute a large number of tasks in Go?
For rabbitmq I used -> https://github.com/streadway/amqp which is deprecated now for -> https://github.com/rabbitmq/amqp091-go
-
How to send RabbitMQ messages to http.ResponseWriter?
"github.com/streadway/amqp"
-
Any recommended a ‘windows friendly’ c++ library for AMQP please?
I’d also recommend looking into learning Go. I’ve been using this library and it’s great.
-
Which RabbitMQ client library do you use in production?
We're currently using streadway/amqp as RabbitMQ client library. It is well-documented and very stable on the one hand, but on the other hand, it is pretty low-level and leaves up a lot of things to the user. For example, we're in charge of handling the connections and channels ourselves and implemented our very own error handling and reconnection logic as well.
-
Introducing my first open source project: Roger, Rabbit: A RabbitMQ client and drop-in replacement for streadway/amqp with automatic redials, method middleware, and more!
AMQP is a messaging protocol most commonly used by RabbitMQ. As I discuss in the README, the officially sanctioned RabbitMQ driver, streadway/amqp isamazing but does not support automatic redials. If your connection to the message broker goes down, you have to find a way to distribute a new connection to all routines utilizing it. It's always a tedious exercisee, especially when you have multiple projects that work with RabbitMQ.
Benthos
- Ask HN: Who is hiring? (December 2023)
- Structured Logging with Slog
- Fancy stream processing made operationally mundane
- Benthos: Fancy stream processing made operationally mundane
-
Any golang library to batch process a queue ?
I’ve used https://www.benthos.dev/ and it’s really easy and well implemented. The author is also very responsive
-
Show HN: Arroyo – Write SQL on streaming data
Looks cool. What is the difference between this tools and benthos (https://www.benthos.dev/)?
- Benthos: Open-source stream processing tool
-
book about golang and kafka
You might want to gradually replace that one with https://github.com/twmb/franz-go because Shopify is looking to find a new owner for Sarama and, until or if they do, it seems to be falling behind with maintenance: https://github.com/Shopify/sarama/issues/2461 For example, they still haven’t addressed this breaking change https://github.com/Shopify/sarama/issues/2358. franz-go has worked well so far in Benthos https://github.com/benthosdev/benthos/tree/main/internal/impl/kafka and it will likely end up as the only implementation once the Sarama-based one will be deprecated
- Show HN: Open-source Auth0 alternative Ory Kratos v0.13 released – nearing v1.0
-
Go in depth youtube channels?
I upload a mix of code reviews and live streams on https://www.youtube.com/@Jeffail, mostly building https://www.benthos.dev out in the open so the content ranges from beginner friendly stuff to more advanced things like stream processing, parser combinators, etc.
What are some alternatives?
go-rabbitmq - A wrapper of streadway/amqp that provides reconnection logic and sane defaults
Confluent Kafka Golang Client - Confluent's Apache Kafka Golang client
RabbitMQ - Open source RabbitMQ: core server and tier 1 (built-in) plugins
appsmith - Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
PHP AMQP - The most widely used PHP client for RabbitMQ
watermill - Building event-driven applications the easy way in Go.
rogerRabbit-go - wrapper & drop-in replacement for streadway/ampq with automatic reconnects
sarama - Sarama is a Go library for Apache Kafka. [Moved to: https://github.com/IBM/sarama]
gue - Golang queue on top of PostgreSQL
salsa - A generic framework for on-demand, incrementalized computation. Inspired by adapton, glimmer, and rustc's query system.
o3 - Open-source implementation of the Threema protocol in Go.
grpcurl - Like cURL, but for gRPC: Command-line tool for interacting with gRPC servers