diff --git a/src/v/kafka/server/handlers/configs/config_response_utils.cc b/src/v/kafka/server/handlers/configs/config_response_utils.cc index dadf54560768e..f05cb11949abc 100644 --- a/src/v/kafka/server/handlers/configs/config_response_utils.cc +++ b/src/v/kafka/server/handlers/configs/config_response_utils.cc @@ -992,6 +992,19 @@ config_response_container_t make_topic_configs( "topic."), &describe_as_string); + add_topic_config_if_requested( + config_keys, + result, + topic_property_remote_allow_gaps, + false, + topic_property_remote_allow_gaps, + topic_properties.remote_topic_allow_gaps, + include_synonyms, + maybe_make_documentation( + include_documentation, + "Allow offset gaps if the Tiered-Storage is paused."), + &describe_as_string); + return result; } diff --git a/tests/rptest/tests/describe_topics_test.py b/tests/rptest/tests/describe_topics_test.py index 2ce2b80f2d7e1..bb6bdeb6dece5 100644 --- a/tests/rptest/tests/describe_topics_test.py +++ b/tests/rptest/tests/describe_topics_test.py @@ -301,6 +301,12 @@ def test_describe_topics_with_documentation_and_types(self): doc_string= "If true, delete the corresponding Iceberg table when deleting the topic." ), + "redpanda.remote.allow_gaps": + ConfigProperty( + config_type="BOOLEAN", + value="false", + doc_string="Allow offset gaps if the Tiered-Storage is paused." + ), } tp_spec = TopicSpec()