Cosmetic changes
This commit is contained in:
Родитель
9d818b8f09
Коммит
67b7fcf142
|
@ -28,13 +28,12 @@ import scala.collection.Map
|
|||
|
||||
object EventHubsUtils {
|
||||
|
||||
/**
|
||||
* Return an initialized SparkConf that registered
|
||||
* Azure Eventhubs client's internal classes with Kryo serializer
|
||||
* @return SparkConf
|
||||
*/
|
||||
/**
|
||||
* Return an initialized SparkConf that registered
|
||||
* Azure Eventhubs client's internal classes with Kryo serializer
|
||||
* @return SparkConf
|
||||
*/
|
||||
def initializeSparkStreamingConfigurations: SparkConf = {
|
||||
|
||||
new SparkConf().registerKryoClasses(Array(classOf[EventData]))
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче