Issue 1:
Checklist

I have checked the issues list

for similar or identical bug reports.

I have checked the pull requests list

for existing proposed fixes.

I have checked the commit log

to find out if the bug was already fixed in the master branch.

I have included all related issues and possible duplicate issues in this issue

(If there are none, check this box anyway).

Related Issues and Possible Duplicates

Related Issues

#4693

Possible Duplicates

None

Description

In current documentation, in the "Optimizing" section, this paragraph recommends using librabbitmq but in #4693 it's mentioned librabbitmq is not the best performing package anymore.

Suggestions

I'd suggest to mark this paragraph as "old" or remove it to prevent users from using it as a "best practice".

Issue 2:
Checklist

I have verified that the issue exists against the master branch of Celery.

This has already been asked to the discussion group first.

I have read the relevant section in the

contribution guide

on reporting bugs.

I have checked the issues list

for similar or identical bug reports.

I have checked the pull requests list

for existing proposed fixes.

I have checked the commit log

to find out if the bug was already fixed in the master branch.

I have included all related issues and possible duplicate issues

in this issue (If there are none, check this box anyway).

Mandatory Debugging Information

I have included the output of celery -A proj report in the issue.

(if you are not able to do this, then at least specify the Celery

version affected).

I have verified that the issue exists against the master branch of Celery.

I have included the contents of pip freeze in the issue.

I have included all the versions of all the external dependencies required

to reproduce this bug.

Optional Debugging Information

I have tried reproducing the issue on more than one Python version

and/or implementation.

I have tried reproducing the issue on more than one message broker and/or

result backend.

I have tried reproducing the issue on more than one version of the message

broker and/or result backend.

I have tried reproducing the issue on more than one operating system.

I have tried reproducing the issue on more than one workers pool.

I have tried reproducing the issue with autoscaling, retries,

ETA/Countdown & rate limits disabled.

I have tried reproducing the issue after downgrading

and/or upgrading Celery and its dependencies.

Related Issues and Possible Duplicates

Related Issues

None

Possible Duplicates

None

Environment & Settings

Celery version: 4.4.0

celery report Output:

software -> celery:4.4.0 (cliffs) kombu:4.6.7 py:3.7.0
billiard:3.6.1.0 sqs:N/A
platform -> system:Linux arch:64bit
kernel version:5.0.0-37-generic imp:CPython
loader -> celery.loaders.app.AppLoader
settings -> transport:sqs results:disabled

broker_url: 'sqs://***:********@localhost//'
task_default_queue: 'inference'
broker_transport_options: {
'region': 'us-west-2'}

Steps to Reproduce

Required Dependencies

Minimal Python Version: 3.7.0 (conda)

Minimal Celery Version: N/A or Unknown

Minimal Kombu Version: N/A or Unknown

Minimal Broker Version: N/A or Unknown

Minimal Result Backend Version: N/A or Unknown

Minimal OS and/or Kernel Version: N/A or Unknown

Minimal Broker Client Version: N/A or Unknown

Minimal Result Backend Client Version: N/A or Unknown

Python Packages

pip freeze Output:

celery[sqs]

Other Dependencies

N/A

Minimally Reproducible Test Case

import os
from celery import Celery
from kombu.utils.url import quote

aws_access_key = # AWS access key
aws_secret_key = # AWS secret key

broker_url = "sqs://{aws_access_key}:{aws_secret_key}@".format(
aws_access_key=aws_access_key, aws_secret_key=aws_secret_key,
)

app = Celery('default', broker=broker_url)
app.conf.broker_transport_options = {'region': 'us-west-2'}

@app.task
def add(x, y):
return x + y

Expected Behavior

Start a worker

Actual Behavior

-------------- celery@kidzik-XPS-8900 v4.4.0 (cliffs)
--- ***** -----
-- ******* ---- Linux-5.0.0-37-generic-x86_64-with-debian-buster-sid 2020-01-03 19:10:18
- *** --- * ---
- ** ---------- [config]
- ** ---------- .> app: infrence:0x7f1e39811be0
- ** ---------- .> transport: sqs://***:**@localhost//
- ** ---------- .> results: disabled://
- *** --- * --- .> concurrency: 8 (prefork)
-- ******* ---- .> task events: OFF (enable -E to monitor tasks in this worker)
--- ***** -----
-------------- [queues]
.> default exchange=default(direct) key=default

[tasks]
. app.add

[2020-01-03 19:10:19,095: INFO/MainProcess] Connected to sqs://***:**@localhost//
[2020-01-03 19:10:19,369: INFO/MainProcess] celery@kidzik-XPS-8900 ready.
Segmentation fault (core dumped)