I am writing an automated test to test a consumer. So far I did not need to include a header when publishing messages but now I do. And it seems like its lacking documentati
The official document was mentioned as follows:
hdrs = {u'': u' ', u'': u'', u'': u''} properties = pika.BasicProperties(app_id='example-publisher', content_type='application/json', headers=hdrs)