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

[Merged by Bors] - Do not allow --initial when we are not using aggregate smartmodule #2476

Closed
wants to merge 2 commits into from

Conversation

morenol
Copy link
Contributor

@morenol morenol commented Jul 13, 2022

I noticed that in fluvio consume we can use --initial and --join-topic when we are not using their respective smart modules. This fixes that, now if we use --initial without using --aggregate or --smartmodule the CLI will fail with the right description.

The same applies to --extra-params

@morenol morenol marked this pull request as ready for review July 13, 2022 19:23
@morenol morenol requested review from sehz and tjtelan July 13, 2022 19:24
Copy link
Contributor

@sehz sehz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sehz
Copy link
Contributor

sehz commented Jul 13, 2022

bors r+

bors bot pushed a commit that referenced this pull request Jul 13, 2022
…2476)

I noticed that in `fluvio consume` we can use `--initial` and `--join-topic` when we are not using their respective smart modules. This fixes that, now if we use `--initial` without using --aggregate or --smartmodule the CLI will fail with the right description.

The same applies to `--extra-params`
@bors
Copy link

bors bot commented Jul 13, 2022

Build failed:

@sehz
Copy link
Contributor

sehz commented Jul 13, 2022

Yuck: sudo apt-get install gcc-mingw-w64-x86-64 fails.

@sehz
Copy link
Contributor

sehz commented Jul 13, 2022

bors r+

bors bot pushed a commit that referenced this pull request Jul 13, 2022
…2476)

I noticed that in `fluvio consume` we can use `--initial` and `--join-topic` when we are not using their respective smart modules. This fixes that, now if we use `--initial` without using --aggregate or --smartmodule the CLI will fail with the right description.

The same applies to `--extra-params`
@bors
Copy link

bors bot commented Jul 13, 2022

Build failed:

@morenol morenol added this to the 0.9.32 milestone Jul 13, 2022
@morenol morenol force-pushed the lmm/cli-enforce-parameters branch from 796b99a to 6de187d Compare July 14, 2022 00:57
@morenol morenol force-pushed the lmm/cli-enforce-parameters branch from 6de187d to 45b0044 Compare July 14, 2022 01:09
@morenol
Copy link
Contributor Author

morenol commented Jul 14, 2022

bors r+

bors bot pushed a commit that referenced this pull request Jul 14, 2022
…2476)

I noticed that in `fluvio consume` we can use `--initial` and `--join-topic` when we are not using their respective smart modules. This fixes that, now if we use `--initial` without using --aggregate or --smartmodule the CLI will fail with the right description.

The same applies to `--extra-params`
@bors
Copy link

bors bot commented Jul 14, 2022

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title Do not allow --initial when we are not using aggregate smartmodule [Merged by Bors] - Do not allow --initial when we are not using aggregate smartmodule Jul 14, 2022
@bors bors bot closed this Jul 14, 2022
@morenol morenol deleted the lmm/cli-enforce-parameters branch July 13, 2023 19:52
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.

2 participants