KaotoIO / kaoto

The UI of the Kaoto project
https://kaoto.io
Apache License 2.0
26 stars 23 forks source link

Resequence EIP is not possible to configure batch vs streaming options #794

Open davsclaus opened 6 months ago

davsclaus commented 6 months ago

Describe the Bug

The resequencer EIP is a special and old EIP that has 2 modes: batch vs streaming. And you configure those separately in the model.

The YAML schema for this EIP is a bit complex https://github.com/apache/camel/blob/1e65cbf8278df1d82dd963baaaaf66411aa14f1e/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/schema/camelYamlDsl.json#L4659

The same problem is in Karavan https://github.com/apache/camel-karavan/issues/1105

Steps to Reproduce the Bug or Issue

See picture.

The options in the panel should allow to configure batch or streaming. But none of those are shown in the UI.

Screenshots or Videos

Screenshot 2024-02-05 at 16 58 33

Platform

Using the online editor https://kaotoio.github.io/kaoto-next/

lhein commented 6 months ago

thanks for bringing this up, Claus.

igarashitm commented 6 months ago

Thanks for catching.

We'll need an inline dynamic form for this to choose from one of batchConfig or streamConfig , just like we do for loadBalance with LoadBalancerEditor - https://github.com/KaotoIO/kaoto-next/pull/630.