private Map<String, String> configsToBeAdded() {
        // Update localLog retentionMs to 1 ms and segment roll-time to 10 ms
        Map<String, String> topicConfigs = new HashMap<>();
        topicConfigs.put(TopicConfig.LOCAL_LOG_RETENTION_MS_CONFIG, "1");
        return topicConfigs;
    }
Test to verify that the active segment is rolled and uploaded to remote storage when the segment breaches the
local log retention policy.
storage/src/test/java/org/apache/kafka/tiered/storage/integration/RollAndOffloadActiveSegmentTest.java