HsbcJone commented on PR #1386: URL: https://github.com/apache/flink-agents/pull/1386#issuecomment-6978749863
Thanks. Duration parsing still lives in our own `DurationUtils` and the Python parser, aligned with the Flink 2.3 `TimeUtils` forms. ISO-8601 durations such as `PT30S`, `PT1H30M`, and `P1DT2H` are accepted, and a unitless number means milliseconds, so `1000` is 1000 ms. The labeled units we already supported are kept, including `us` and `mins`. Negative durations are still accepted, including negative ISO-8601, so zero and negative values can still disable a timeout or TTL. The parser still requires a whole number of microseconds, so `1 ns` and an ISO-8601 fraction finer than 1 us are rejected. For `retry-wait-interval` and `short-term-memory.state-ttl`, the later review replaced the whole-millisecond rejection with `Duration.toMillis()` truncation. A positive retry wait may become 0 ms. A positive TTL must be greater than 0 ms after that conversion. `async.batch.timeout` still keeps full microsecond precision. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
