Skip to content

Commit

Permalink
Merge pull request #6156 from BenPope/schema-registry-compression-none
Browse files Browse the repository at this point in the history
Schema Registry: Explicitly set compression to none for _schemas
  • Loading branch information
BenPope authored Aug 22, 2022
2 parents 4720a29 + f547d16 commit ff888d5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/v/pandaproxy/schema_registry/service.cc
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,9 @@ ss::future<> service::create_internal_topic() {
.assignments{},
.configs{
{.name{ss::sstring{kafka::topic_property_cleanup_policy}},
.value{"compact"}}}};
.value{"compact"}},
{.name{ss::sstring{kafka::topic_property_compression}},
.value{ssx::sformat("{}", model::compression::none)}}}};
};
auto res = co_await _client.local().create_topic(make_internal_topic());
if (res.data.topics.size() != 1) {
Expand Down

0 comments on commit ff888d5

Please sign in to comment.