930d97599c
Consumer callback should look for x-stream-offset header only if the stream mode is used. Otherwise the message headers attribute could be None and the error appears when using get method. Closes-Bug: #2084168 Change-Id: I7f9c742f8f557d9faae2cd749d34dcb15d8005c0