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

rpk: Enable pandaproxy by default #1066

Merged
merged 2 commits into from
Apr 5, 2021

Conversation

BenPope
Copy link
Member

@BenPope BenPope commented Apr 5, 2021

Cover letter

Enable pandaproxy by default

Release notes

Release note: Pandaproxy - listen on all interfaces and enable by default

Signed-off-by: Ben Pope <ben@vectorized.io>
Signed-off-by: Ben Pope <ben@vectorized.io>
Copy link
Contributor

@emaxerrno emaxerrno left a comment

Choose a reason for hiding this comment

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

this looks good to me, we'd need @0x5d to approve this. perhaps the k8s team too.

@BenPope BenPope requested review from dimitriscruz and alenkacz and removed request for mmaslankaprv April 5, 2021 01:04
Copy link
Contributor

@0x5d 0x5d left a comment

Choose a reason for hiding this comment

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

The rpk part looks good!

Minor question.

@@ -87,6 +87,7 @@ func defaultMap() map[string]interface{} {
var defaultListeners []interface{} = []interface{}{defaultListener}
return map[string]interface{}{
"config_file": "/etc/redpanda/redpanda.yaml",
"pandaproxy": Pandaproxy{},
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we make all these concrete types instead of maps? (not in this PR of course)

Copy link
Member Author

Choose a reason for hiding this comment

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

I think it's easier to read and more type-safe as a concrete type, so yeah. Then this function would be replaced with toMap(Default())

Copy link
Contributor

Choose a reason for hiding this comment

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

I created a ticket #1067 to track this.

@emaxerrno emaxerrno merged commit 850731e into redpanda-data:dev Apr 5, 2021
@mmedenjak mmedenjak added area/pandaproxy REST interface for Kafka API kind/enhance New feature or request and removed area/redpanda labels Jul 25, 2022
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/docs area/pandaproxy REST interface for Kafka API area/rpk kind/enhance New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants