Open mkomel opened 1 year ago
CI environment seems to be broken in this repo.
There are 4 tests failing, none of which is related to the changes within this pull request: 1: [ FAILED ] 4 tests, listed below: 1: [ FAILED ] connecting_test.connect_badvhost 1: [ FAILED ] connecting_test.open_badvhost 1: [ FAILED ] connected_test.channel_publish_full_rejected 1: [ FAILED ] connected_test.basic_message_header_roundtrip
There is no way to explicitly set
basic.qos.global
when usingBasicQos
orBasicConsume
. SimpleAmqpClient library always sets this tofalse
for RabbitMq broker versions <v3.3.0 and totrue
for versions >v3.3.0. This made it impossible to set QoS with this library when used with quorum-type queues in RabbitMq >v3.3.0.This pull request adds overrides to
BasicConsume
andBasicQos
, making it is possible to explicitly setbasic.qos.global
setting.This patch fixes #276