apache / apache/pulsar

Using Regex Subscription topics Got exception io.netty.handler.codec.TooLongFrameException: Adjusted frame length exceeds - discarded

Open
#15,688 8 comments 0 reactions 0 assignees View on GitHub
type/bug
Dominant language
Java
Stars
15.3k
Forks
3.8k
Avg merge
1d 14h
Merged PRs (30d)
160

Description

**Describe the bug**

Using Regex Subscription topics Got exception io.netty.handler.codec.TooLongFrameException: Adjusted frame length exceeds 5253120: 5488916 - discarded

version: pulsar-2.9.2

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

```bash
./bin/pulsar-client \
--url pulsar://xxx:6651 \
--auth-plugin org.apache.pulsar.client.impl.auth.AuthenticationToken \
--auth-params token:xxx== \
consume --regex \
-s "sub_reports" persistent://xxx/xxx/reports_.*
```

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]

**Additional context**
Add any other context about the problem here.

Contributor guide

Open the contributing guide

Research direction

Begin with the `bin/pulsar-client` regex `consume` command shown in the report and reproduce it against Pulsar 2.9.2. Inspect the reported `io.netty.handler.codec.TooLongFrameException`; the issue does not specify expected behavior, affected files, or a test, so acceptance criteria need clarification before implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.