Skip to content

Commit

Permalink
fix: bucket name vault로 이동
Browse files Browse the repository at this point in the history
  • Loading branch information
jcy0308 committed Aug 30, 2024
1 parent ee674d5 commit 02c93f7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 0 additions & 2 deletions .env
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
MINIO_BUCKET_NAME="ice-grad-pdf"

TOPIC="pdf-topic"
CONSUMER_GROUP="icc-grad-consumer-group"
KAFKA_CLIENT_BOOTSTRAP_SERVER="kafka.kafka.svc.cluster.local:9092"
6 changes: 1 addition & 5 deletions src/kafka/kafka.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,7 @@ export class KafkaService implements OnModuleInit, OnModuleDestroy {
) {
this.kafka = new Kafka({
clientId: `${process.env.CONSUMER_GROUP}+${process.pid}`,
brokers: [
'kafka-controller-0.kafka-controller-headless.kafka.svc.cluster.local:9092',
'kafka-controller-1.kafka-controller-headless.kafka.svc.cluster.local:9092',
'kafka-controller-2.kafka-controller-headless.kafka.svc.cluster.local:9092',
],
brokers: ['kafka.kafka.svc.cluster.local:9092'],
sasl: {
mechanism: 'scram-sha-256',
username: process.env.SASL_USER,
Expand Down

0 comments on commit 02c93f7

Please sign in to comment.