You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by GitBox <gi...@apache.org> on 2022/11/08 15:48:21 UTC

[GitHub] [nifi] fabien-sarcel commented on pull request #6382: NIFI-10317 Taking care of NullPointerException if AMQP header value i…

fabien-sarcel commented on PR #6382:
URL: https://github.com/apache/nifi/pull/6382#issuecomment-1307429522

   Hello @nandorsoma,
   
   I don't know if it really matches your concern, but you'll find below a Python script example that breaks ConsumeAMQP when use with RabbitMQ.
   ```
   import pika 
   
   connection = pika.BlockingConnection(pika.ConnectionParameters('localhost', 5672,'/'))
   channel = connection.channel()
   
   hdrs={
       'x-retry-count': None,
   }
   
   channel.basic_publish(
           exchange='my_exchange',
           routing_key='my_routing_key',
           properties=pika.BasicProperties(
           app_id='test-nifi',
           headers=hdrs
       ),
       body='test',
   )
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@nifi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org