File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
packages/service-utils/src/node Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " @thirdweb-dev/service-utils " : patch
3+ ---
4+
5+ [ service-utils] fix usageV2 caller
Original file line number Diff line number Diff line change @@ -28,9 +28,9 @@ export class UsageV2Producer {
2828 */
2929 producerName : string ;
3030 /**
31- * The environment the service is running in .
31+ * A comma-separated list of `host[:port]` Kafka servers .
3232 */
33- environment : "development" | "production" ;
33+ kafkaServers : "development" | "production" ;
3434 /**
3535 * The product where usage is coming from.
3636 */
@@ -41,7 +41,7 @@ export class UsageV2Producer {
4141 } ) {
4242 this . kafkaProducer = new KafkaProducer ( {
4343 producerName : config . producerName ,
44- environment : config . environment ,
44+ kafkaServers : config . kafkaServers ,
4545 username : config . username ,
4646 password : config . password ,
4747 } ) ;
You can’t perform that action at this time.
0 commit comments