Created
May 25, 2019 03:21
-
-
Save karthik20522/ecd6aa3ddb88f9eab60af406e3e869ac to your computer and use it in GitHub Desktop.
esReindexActor
This file contains hidden or 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
val esReindexActor = system.actorOf(Props(new ElasticsearchReIndexerActor( | |
"localhost:9200", | |
"localhost:9200", | |
"inputIndex", | |
"outputIndex", | |
"someType", | |
doNothing)), name = "esReIndexer") | |
esReindexActor ! "init" | |
def doNothing(data: JValue): JValue = data |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment