[Feature][api] Standardize framework duration configuration

Aperta
#1,384 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@HsbcJone ci sta già lavorando.

Dal 12/11/2026.

  • #3 di @HsbcJone — chiusa senza merge
  • #1386 di @HsbcJone — aperta

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
43/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
java, python
Ambito
backend

Direzione di ricerca

Read the discussion in #1378 and locate the framework configuration definitions and their tests and documentation on both the Java and Python sides. Inventory the listed duration settings and trace their current parsing and consumers before changing them. Done means Java uses java.time.Duration and Python uses datetime.timedelta for these settings, with tests and docs updated on both sides; built-in resource and SDK-aligned parameters remain outside this slice.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Search before asking
  • I searched in the issues and found nothing similar.
Description

This is the first slice of #1378 (standardize duration configuration), scoped to framework configuration only, as agreed in that thread after discussion with @wenjin272.

Flink Agents currently uses bare numeric types, with the unit either in the key or only in the docs, and the units are not consistent. Known framework duration settings include:

  • async.batch.timeout.ms — long in milliseconds (-1 disables it)
  • short-term-memory.state-ttl.ms — long in milliseconds (0 disables it)
  • retry-wait-interval — int in seconds

The goal is to follow Flink's FLIP-442 approach and use dedicated duration types so these settings are easier to read and less error-prone: java.time.Duration in Java and datetime.timedelta in Python, with tests and docs kept in sync on both sides.

Built-in resource / SDK-aligned duration parameters are out of scope here; those stay with #1378's second part.

Are you willing to submit a PR?
  • I'm willing to submit a PR!
Lingua principale
Java
Stelle
491
Fork
184
Merge medio
1g 17h
PR unite (30g)
69

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di apache/flink-agents

Tutte le issue di apache/flink-agents

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.