Skip to content

Issue #7067 : Kafka Consumer step fails when run inside async web service#7538

Merged
hansva merged 7 commits into
apache:mainfrom
mattcasters:issue-7067
Jul 16, 2026
Merged

Issue #7067 : Kafka Consumer step fails when run inside async web service#7538
hansva merged 7 commits into
apache:mainfrom
mattcasters:issue-7067

Conversation

@mattcasters

@mattcasters mattcasters commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Issue #7067 : Kafka Consumer step fails when run inside async web service

Essentially just some code hardening

… runner fix

apache#7517 preferred any existing same-named variable over empty parameter
defaults and also copied parent variables into nested workflow parameters
when pass_all_parameters=Y. That broke backbone IT main-0004/main-0006
(and hop-run of those workflows alone), while empty defaults are intentional
for unset parameters.

Refine activateParameters to prefer existing variables only when the
parameter default is non-empty (HOSTNAME=localhost clobber case). Revert
ActionWorkflow parent-variable fallback; formal parent parameters still
pass through. Add unit coverage. Ignore SSH samples that need a lab host.

Verified: hop-run alone for main-0004 and main-0006 exits 0. Confirm on Jenkins.
Add stopWhenIdle and maxIdleTimeMs options so the consumer can drain a
topic and exit after a configurable idle period (batch-style use cases).
Harden BOOTSTRAP_SERVERS for the single-JVM runner, wait for Kafka
health in docker, ignore idle time until partitions are assigned, and
convert basic/mapping ITs to stop-when-idle.
@hansva
hansva merged commit f332853 into apache:main Jul 16, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants