View Fills.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"contractName": "Fills", | |
"abi": [ | |
{ | |
"inputs": [ | |
{ | |
"internalType": "contract IFillOrder", | |
"name": "_fillOrder", | |
"type": "address" | |
}, |
View main.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import akka.NotUsed | |
import akka.actor.ActorSystem | |
import akka.kafka.scaladsl.Consumer | |
import akka.kafka.{ConsumerSettings, KafkaConsumerActor, Subscriptions} | |
import akka.stream.ActorMaterializer | |
import akka.stream.scaladsl.{BroadcastHub, Keep, RunnableGraph, Sink, Source} | |
import org.apache.kafka.clients.consumer.ConsumerRecord | |
import org.apache.kafka.common.TopicPartition | |
import org.apache.kafka.common.serialization.StringDeserializer |