Skip to content
Evergreen Evergreen
Documentation

github.com/streadway/amqp is deprecated

Deprecated. The source gives no day. Replacement: github.com/rabbitmq/amqp091-go. Source: github.com/streadway/amqp v1.1.0 go.mod.

Check a version:

evergreen check pkg:golang/github.com/streadway/amqp

The latest github.com/streadway/amqp module declares: “Consider using the github.com/rabbitmq/amqp091-go package instead.”

Look up another package or runtime · <form action="../lookup.html" method="get" role="search"> </form>

   
Status Deprecated
Severity medium
Ecosystem go
Component pkg:golang/github.com/streadway/amqp
Affected versions vers:golang/*
Date from the source The source gives no day
Replacement github.com/rabbitmq/amqp091-go
Evidence last seen 2026-10-20
Reviewed 2026-10-20 by arminazimi
Review due 2027-04-18 (180 days after the last review)
Rule ID go.module.github.com.streadway.amqp.deprecated

Sources

Migration

Constraints

  • Keep go.mod and go.sum consistent: after the change no package should still require github.com/streadway/amqp, directly or through a replace directive.
  • Check github.com/rabbitmq/amqp091-go for API differences before switching; it may not be a drop-in replacement for every github.com/streadway/amqp call.

Steps

  1. Replace the deprecated module. Replace the github.com/streadway/amqp requirement with github.com/rabbitmq/amqp091-go (go get github.com/rabbitmq/amqp091-go@latest), then run go mod tidy.
  2. Migrate imports and calls. Update imports and calls of github.com/streadway/amqp in the reported files to github.com/rabbitmq/amqp091-go.

Verification

  • go build ./... && go test ./...: Build and test every package without the deprecated module.
  • go mod tidy && git diff --exit-code go.mod go.sum: Confirm go.mod and go.sum are tidy after the replacement.

Detected by

The go detector. See Detectors and Compatibility.

Same ecosystem

Data

This page is generated from registry/go.json, rule go.module.github.com.streadway.amqp.deprecated, in the ebb.registry.v2 format (how rules are written). A CLE (ECMA-428) export is not published yet. The same facts are embedded in this page as schema.org structured data.

Last updated