public boolean isReadOnly(final String topicName) {
    return readOnlyTopicsPattern.matcher(topicName).matches();
  }
@Test
  public void shouldReturnTrueOnAllReadOnlyTopics() {
    // Given
    final List<String> topicNames = ImmutableList.of(
        KSQL_PROCESSING_LOG_TOPIC,
        ReservedInternalTopics.KSQL_INTERNAL_TOPIC_PREFIX + "_test",
        "ro_prefix_", "_suffix_ro", "ro_prefix_topic", "topic_suffix_ro", "ro_literal"
    );

    topicNames.forEach(topic -> {
      // When
      final boolean isReadOnly = internalTopics.isReadOnly(topic);

      // Then
      assertThat("Should return true on read-only topic: " + topic,
          isReadOnly, is(true));
    });
  }