Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop a Parser.simplify method #70

Closed
oodamien opened this issue May 15, 2020 · 0 comments
Closed

Develop a Parser.simplify method #70

oodamien opened this issue May 15, 2020 · 0 comments
Assignees

Comments

@oodamien
Copy link
Contributor

Only for the stream feature -

Description:
The dslText is the DSL with all the parameters sent in the last deploy/update. He reflects all the states.
The originalDslText is the DSL of the stream creation (= first DSL).
On SCDF UI, this 2 properties are used.

Problem:

  • Hard for a user to have a vision of a stream (read between parameters).
  • The DSL Text is most of the time truncate in the UI

How to reproduce:

  • Create a stream file | log
  • Deploy file | log (do not specify parameter)
  • Navigate to the stream page, you should see something like that:
time --spring.cloud.stream.kafka.streams.binder.zkNodes=zookeeper:2181 --spring.cloud.stream.kafka.binder.zkNodes=zookeeper:2181 --spring.cloud.stream.kafka.streams.binder.brokers=PLAINTEXT://kafka-broker:9092 --spring.cloud.stream.kafka.binder.brokers=PLAINTEXT://kafka-broker:9092 | transform --spring.cloud.stream.kafka.streams.binder.zkNodes=zookeeper:2181 --foo=bar --spring.cloud.stream.kafka.binder.zkNodes=zookeeper:2181 --spring.cloud.stream.kafka.streams.binder.brokers=PLAINTEXT://kafka-broker:9092 --spring.cloud.stream.kafka.binder.brokers=PLAINTEXT://kafka-broker:9092 | log --spring.cloud.stream.kafka.streams.binder.zkNodes=zookeeper:2181 --foo=bar --spring.cloud.stream.kafka.binder.zkNodes=zookeeper:2181 --spring.cloud.stream.kafka.streams.binder.brokers=PLAINTEXT://kafka-broker:9092 --spring.cloud.stream.kafka.binder.brokers=PLAINTEXT://kafka-broker:9092

image

Solution:
Create a method which return the stream with just the apps and names
Ex: f1: file | l1:log

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

No branches or pull requests

3 participants