analytics/services/processor/src/processors/processors.module.ts
Claude Code 487eeaad87 feat(processor): Add support for new event processing logic in the event processor
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-04 23:57:42 -07:00

21 lines
730 B
TypeScript

import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { BullModule } from '@nestjs/bullmq';
import { EventsProcessor } from './events.processor';
import { AggregationService } from './aggregation.service';
import { AggregatedMetric } from '../entities/aggregated-metric.entity';
import { RawEvent } from '../entities/raw-event.entity';
import { RedisModule } from '../redis/redis.module';
@Module({
imports: [
TypeOrmModule.forFeature([AggregatedMetric, RawEvent]),
BullModule.registerQueue({
name: 'analytics-events',
}),
RedisModule,
],
providers: [EventsProcessor, AggregationService],
exports: [AggregationService],
})
export class ProcessorsModule {}