Skip to content

Large message size handling in Pulsar: Chunking for shared subscription #7645

Closed

Description

@amitkaushal16

We have requirement of sending large message size over 250 MB for the shared subscription.
As the chunking feature is not enable for shared subscription while we are trying to send the message above 200MB we are getting below error.

2020-07-23 03:53:03,864 -0700 [bookie-io-1-10] ERROR org.apache.bookkeeper.proto.BookieRequestHandler - Unhandled exception occurred in I/O thread or handler
io.netty.util.internal.OutOfDirectMemoryError: failed to allocate 406847488 byte(s) of direct memory (used: 1744830464, max: 2147483648)

Activity

  1. added
    type/enhancement
    on Jul 23, 2020
  2. rdhabalia commented on Jul 23, 2020

    @rdhabalia
    Contributor

    @amitkaushal16 yes, right now chunking feature is only available for non-shared subscription. It's little tricky for shared subscription as it requires sequential chunked-messages delivery to one consumer and also need to take other scenarios such as acking, redelivery, keeping multiple chunks in buffers, etc. We will look into this feature soon.

  3. added this to the 2.7.0 milestone on Jul 24, 2020
  4. modified the milestones: 2.7.0, 2.8.0 on Nov 4, 2020
  5. modified the milestones: 2.8.0, 2.9.0 on May 21, 2021
  6. modified the milestones: 2.9.0, 2.10.0 on Oct 6, 2021
  7. modified the milestones: 2.10.0, 2.11.0 on Feb 14, 2022
  8. modified the milestones: 2.11.0, 2.12.0 on Jul 26, 2022
  9. tisonkun commented on Dec 7, 2022

    @tisonkun
    Member

    Closed as stale and no one worked on it. Please open a new issue if it's still relevant to the maintained versions.

  10. RobertIndie commented on Mar 20, 2023

    @RobertIndie
    Member

    This feature is implemented in #16202

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedtype/enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions