about summary refs log tree commit diff
path: root/src/payload-processor/cmd/main.go
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2024-05-04 21:02:04 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2024-05-04 21:02:04 +0200
commit7347e1d37464bbe9477d10bac70f102b43585dc1 (patch)
tree3fbb5b4b346173b74e01c61e32400007d299699d /src/payload-processor/cmd/main.go
parentgo mod tidy (diff)
downloadfs-tracer-backend-7347e1d37464bbe9477d10bac70f102b43585dc1.tar.gz
fs-tracer-backend-7347e1d37464bbe9477d10bac70f102b43585dc1.tar.bz2
fs-tracer-backend-7347e1d37464bbe9477d10bac70f102b43585dc1.zip
payload-processor: add concurrency
Diffstat (limited to 'src/payload-processor/cmd/main.go')
-rw-r--r--src/payload-processor/cmd/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/payload-processor/cmd/main.go b/src/payload-processor/cmd/main.go
index 5faa293..2604d8e 100644
--- a/src/payload-processor/cmd/main.go
+++ b/src/payload-processor/cmd/main.go
@@ -29,6 +29,6 @@ func main() {
 		GroupID:  "group-A",
 		MaxBytes: 10e6, // 10MB
 	})
-	processor := processor.NewProcessor(kafka_reader)
+	processor := processor.NewProcessor(kafka_reader, 4)
 	processor.ProcessMessages()
 }