public static ConnectorOffsetBackingStore withOnlyWorkerStore(
            Supplier<LoggingContext> loggingContext,
            OffsetBackingStore workerStore,
            String workerOffsetsTopic
    ) {
        Objects.requireNonNull(loggingContext);
        Objects.requireNonNull(workerStore);
        return new ConnectorOffsetBackingStore(Time.SYSTEM, loggingContext, workerOffsetsTopic, workerStore, null, null);
    }
Builds an offset store that uses the worker-global offset store as the primary store, and no secondary store.

@param loggingContext a {@link Supplier} for the {@link LoggingContext} that should be used
                      for messages logged by this offset store; may not be null, and may never return null
@param workerStore the worker-global offset store; may not be null
@param workerOffsetsTopic the name of the worker-global offset topic; may be null if the worker
                          does not use an offset topic for its offset store
@return an offset store for the connector backed solely by the worker-global offset store; never null
connect/runtime/src/main/java/org/apache/kafka/connect/storage/ConnectorOffsetBackingStore.java