public SolaceContainer withTopic(String topic, Service service) {
        topicsConfiguration.add(Pair.of(topic, service));
        addExposedPort(service.getPort());
        return this;
    }
Adds the topic configuration

@param topic Name of the topic
@param service Service to be supported on provided topic
@return This container.
modules/solace/src/main/java/org/testcontainers/solace/SolaceContainer.java