:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
import { APP_METRICS_OUTPUT, DLQ_OUTPUT, INGESTION_WARNINGS_OUTPUT, TOPHOG_OUTPUT } from '~/common/outputs'
import { IngestionOutputsBuilder } from '~/common/outputs/ingestion-outputs-builder'
/**
* Register the outputs the clientwarnings pipeline produces to. Call
* `.build(registry, config)` to resolve against the shared producer
* registry.
*/
export function createOutputsRegistry() {
return new IngestionOutputsBuilder()
.register(INGESTION_WARNINGS_OUTPUT, {
topicKey: 'INGESTION_OUTPUT_INGESTION_WARNINGS_TOPIC',
producerKey: 'INGESTION_OUTPUT_INGESTION_WARNINGS_PRODUCER',
})
.register(DLQ_OUTPUT, {
topicKey: 'INGESTION_OUTPUT_DLQ_TOPIC',
producerKey: 'INGESTION_OUTPUT_DLQ_PRODUCER',
})
.register(APP_METRICS_OUTPUT, {
topicKey: 'INGESTION_OUTPUT_APP_METRICS_TOPIC',
producerKey: 'INGESTION_OUTPUT_APP_METRICS_PRODUCER',
})
.register(TOPHOG_OUTPUT, {
topicKey: 'INGESTION_OUTPUT_TOPHOG_TOPIC',
producerKey: 'INGESTION_OUTPUT_TOPHOG_PRODUCER',
})
}