File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ export abstract class AbstractKafkaConsumer<
129129 this . consumer . on ( 'consumer:group:join' , ( _ ) =>
130130 this . logger . debug ( logDetails , 'Consumer is joining a group' ) ,
131131 )
132- this . consumer . on ( 'consumer:rejoin' , ( _ ) =>
132+ this . consumer . on ( 'consumer:group: rejoin' , ( ) =>
133133 this . logger . debug ( logDetails , 'Consumer is re-joining a group after a rebalance' ) ,
134134 )
135135 this . consumer . on ( 'consumer:group:leave' , ( _ ) =>
Original file line number Diff line number Diff line change 5353 "dependencies" : {
5454 "@lokalise/node-core" : " ^14.2.0" ,
5555 "@lokalise/universal-ts-utils" : " ^4.5.1" ,
56- "@platformatic/kafka" : " ^1.23 .0"
56+ "@platformatic/kafka" : " ^1.24 .0"
5757 },
5858 "peerDependencies" : {
5959 "@message-queue-toolkit/core" : " >=23.0.0" ,
Original file line number Diff line number Diff line change 66 type TransactionObservabilityManager ,
77} from '@lokalise/node-core'
88import type { MessageMetricsManager } from '@message-queue-toolkit/core'
9- import { Admin } from '@platformatic/kafka'
9+ import { adminClient } from '@platformatic/kafka'
1010import {
1111 type AwilixContainer ,
1212 asFunction ,
@@ -26,7 +26,7 @@ export type TestContext = AwilixContainer<Dependencies>
2626type Dependencies = {
2727 awilixManager : AwilixManager
2828 kafkaConfig : KafkaConfig
29- kafkaAdmin : Admin
29+ kafkaAdmin : adminClient . Admin
3030 errorReporter : ErrorReporter
3131 logger : CommonLogger
3232 transactionObservabilityManager : TransactionObservabilityManager
@@ -60,7 +60,7 @@ const resolveDIConfig = (awilixManager: AwilixManager): DiConfig => ({
6060 kafkaConfig : asFunction ( getKafkaConfig , SINGLETON_CONFIG ) ,
6161 kafkaAdmin : asFunction (
6262 ( { kafkaConfig } ) =>
63- new Admin ( {
63+ new adminClient . Admin ( {
6464 clientId : randomUUID ( ) ,
6565 bootstrapBrokers : kafkaConfig . bootstrapBrokers ,
6666 } ) ,
You can’t perform that action at this time.
0 commit comments