Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buffer: Fix that compress setting causes unexpected error when receiving already compressed MessagePack #4147

Merged

Commits on Apr 12, 2023

  1. Buffer: Fix error about compressing already compressed ES

    When setting `compress gzip` of buffer, and it tries to process
    CompressedMessagePackEventStream, the following error occurs.
    
        [error]: xxx unexpected error on reading data
        host="xxx" port=xxx error_class=ArgumentError
        error="unknown keyword: :packer"
    
    This is caused by the signature unmatch in
    c6c6c03.
    
    A possible use case is a two-stage transfer.
    
    Forwarder1(out_forward) -> Forwarder2(in_forward, out_forward) ->
    Aggregator(in_forward)
    
    In this case, Forwarder2 should process the data of
    `CompressedMessagePackEventStream` as is (i.e. without
    decompressing) and re-transfer the data to Aggregator.
    
    Signed-off-by: Daijiro Fukuda <[email protected]>
    daipom committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    2d1c313 View commit details
    Browse the repository at this point in the history