confluentinc / confluentinc/confluent-kafka-javascript

Configuring max.poll.interval.ms above 12 hours results in an error

Open
#177 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
304
Forks
45
Avg merge
11h 47m
Merged PRs (30d)
5

Description

**Environment Information**
- OS [e.g. Mac, Arch, Windows 10]: linux
- Node Version [e.g. 8.2.1]: 18.x
- NPM Version [e.g. 5.4.2]: nil
- C++ Toolchain [e.g. Visual Studio, llvm, g++]: nil
- confluent-kafka-javascript version [e.g. 2.3.3]: 0.5.1

**Steps to Reproduce**

Configure `max.poll.interval.ms` to >12 hours using the KafkaJS consumer

**confluent-kafka-javascript Configuration Settings**
```
{
"max.poll.interval.ms": 86400000
}
```

**Additional context**

Results in this error:

```
Configuration property \"max.poll.interval.ms\" value 172800000 is outside allowed range 1..86400000
```

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the KafkaJS consumer configuration with max.poll.interval.ms set above 12 hours. Trace how this setting is passed and validated, paying attention to the reported value and allowed range. Done means a value above 12 hours is accepted without the reported range error and the behavior is covered by a regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
kafka, typescript
Domain
backend, distributed-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.