You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Andrew Stitcher (Jira)" <ji...@apache.org> on 2021/10/29 20:05:00 UTC

[jira] [Created] (PROTON-2448) Implement a dumping AMQP values without using pn_data_t

Andrew Stitcher created PROTON-2448:
---------------------------------------

             Summary: Implement a dumping AMQP values without using pn_data_t
                 Key: PROTON-2448
                 URL: https://issues.apache.org/jira/browse/PROTON-2448
             Project: Qpid Proton
          Issue Type: New Feature
          Components: proton-c
            Reporter: Andrew Stitcher
            Assignee: Andrew Stitcher


Printing AMQP values is widely used in proton especially for frame tracing. It is massively inefficient because it relies on there being an existing pn_data_t structure which represents the AMQP value.
In the upcoming work to remove pn_data_t use from (nearly all of ) the critical path of proton-c there will no longer be such a pn_data_t that represents the received or transmitted frame. So we need new code to dump the AMQP values. Luckily the new AMQP consume code provides a simple skeleton which makes this fairly straightforward.
This new code can now produce text dumps of AMQP frames/values direct form the bytes encoding the frames with no intermediate step. This allows the use if this code in th elowest level send and receive code of the AMQP engine.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org