Skip to content

fix(3scale_batcher): handle string values#1597

Open
tkan145 wants to merge 1 commit into
3scale:masterfrom
tkan145:THREESCALE-15547
Open

fix(3scale_batcher): handle string values#1597
tkan145 wants to merge 1 commit into
3scale:masterfrom
tkan145:THREESCALE-15547

Conversation

@tkan145

@tkan145 tkan145 commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

When configuring the auths_ttl and batch_report_seconds values a batch
processing policy to string instead of integer, the policy will silently
fail unless APICAST_VALIDATE_POLICY_CONFIGS is set.

Enabling APICAST_VALIDATE_POLICY_CONFIGS is currently too risky as it will
cause existing policies configured with the wrong data type to fail. A safer
approach is to try converting the values numbers, then fallback to the default
value when the input data is invalid.
@tkan145
tkan145 requested a review from a team as a code owner July 17, 2026 02:33
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.

1 participant