mirror of
https://github.com/OpenBankProject/OBP-API.git
synced 2026-02-06 17:37:00 +00:00
another try to improve performances (without reusing connection)
This commit is contained in:
parent
03e784f895
commit
52cbcf3e35
@ -45,7 +45,7 @@ class KafkaStreamsHelperActor extends Actor with ObpActorInit with ObpActorHelpe
|
||||
|
||||
private val consumer: Source[ConsumerRecord[String, String], Consumer.Control] = {
|
||||
val assignment = Subscriptions.assignmentWithOffset(new TopicPartition(Topics.connectorTopic.response, 0), 0)
|
||||
Consumer.plainExternalSource(consumerActor, assignment)
|
||||
Consumer.plainSource(consumerSettings, assignment)
|
||||
.completionTimeout(completionTimeout)
|
||||
}
|
||||
|
||||
@ -130,4 +130,4 @@ object Topics {
|
||||
|
||||
val connectorTopic = Topic(requestTopic, responseTopic)
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user