From f45d43ac23dd9077116d2b62f85e0e2e6491a886 Mon Sep 17 00:00:00 2001 From: Alexander Eliseyev Date: Tue, 29 Aug 2017 12:33:48 +0700 Subject: [PATCH] Algolia Spark task serialization fix --- .../elasticsearch/dataimport/AlgoliaDataImportHandler.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/uy/kohesive/elasticsearch/dataimport/AlgoliaDataImportHandler.kt b/src/main/kotlin/uy/kohesive/elasticsearch/dataimport/AlgoliaDataImportHandler.kt index 3abd9e7..a58ef1a 100644 --- a/src/main/kotlin/uy/kohesive/elasticsearch/dataimport/AlgoliaDataImportHandler.kt +++ b/src/main/kotlin/uy/kohesive/elasticsearch/dataimport/AlgoliaDataImportHandler.kt @@ -23,7 +23,7 @@ class AlgoliaDataImportHandler( override val configRelativeDir: File, targetAlgolia: AlgoliaTargetConnection -) : StatementDataImportHandler { +) : StatementDataImportHandler, Serializable { val options = mapOf( "algolia.write.applicationid" to targetAlgolia.applicationId,