withGroupIdProvider

open override fun withGroupIdProvider(groupIdProvider: OutboxGroupIdProvider): BuildStep

Sets the group id provider for the outbox that will be used to set corresponding field when an item is added.

If not set, a default OutboxGroupIdProvider is used that always returns null, effectively indicating that there are no groups.