Class DefaultBusinessLogicDslKt
-
- All Implemented Interfaces:
public final class DefaultBusinessLogicDslKt
-
-
Method Summary
Modifier and Type Method Description final static UnitdefaultBusinessLogic(FusClientComponents.Builder<LogEvent, FusReport> $self, Function1<DefaultBusinessLogicConfig, Unit> init)DSL function that configures all default business logic components for a FusClient. final static UnitlegacyBusinessLogic(FusClientComponents.Builder<LogEvent, ValidatedFusReport> $self, Function1<LegacyBusinessLogicConfig, Unit> init)DSL function that configures all legacy business logic components for a FusClient (lion3 format). -
-
Method Detail
-
defaultBusinessLogic
final static Unit defaultBusinessLogic(FusClientComponents.Builder<LogEvent, FusReport> $self, Function1<DefaultBusinessLogicConfig, Unit> init)
DSL function that configures all default business logic components for a FusClient.
This includes:
DefaultRemoteConfig
DefaultMetadataStorage
DefaultAnonymizer
DefaultReportValidator
SimpleReportDispatcher (with either InMemoryChannelQueue or PersistentQueue)
- Parameters:
init- Configuration block for customizing the default business logic parameters
-
legacyBusinessLogic
final static Unit legacyBusinessLogic(FusClientComponents.Builder<LogEvent, ValidatedFusReport> $self, Function1<LegacyBusinessLogicConfig, Unit> init)
DSL function that configures all legacy business logic components for a FusClient (lion3 format).
This includes:
DefaultRemoteConfig
DefaultMetadataStorage
NoOpAnonymizer (legacy format does not use anonymization)
LegacyReportValidator
SimpleLegacyReportDispatcher (with either InMemoryChannelQueue or PersistentQueue)
- Parameters:
init- Configuration block for customizing the legacy business logic parameters
-
-
-
-