Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-2380

frame tracing issues/improvements

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • protonj2-1.0.0-M1
    • protonj2-1.0.0-M2
    • protonj2
    • None

    Description

      Running the HelloWorld example against Broker-J 8.0.4 with PN_TRACE_FRM=true style frame trace enabled shows some areas for improvement.

      • Nothing distinguishes the connection it applies to (e.g in other cases we log include the memory address), limiting value in multi-connection use cases.
      • The run ultimately resulted in exposing a broker bug (QPID-8523), causing connection closure with explanation, but the attach frame trace itself didnt show the issue at all, instead implying a value was sent (printing initialDeliveryCount=0). Some way of distinguishing actual vs default (in code terms) values received, and possibly how many fields were populated, would be useful.
      • Some binary bits will just print out the buffer class/sizes etc.
      • The initial SASL header is prefixed 'AMQP' which is debatable (both ways, since its only a header). May be simpler to say SASL to show transition. Or drop the prefix.

      Attachments

        Activity

          People

            tabish Timothy A. Bish
            robbie Robbie Gemmell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: