Merge pull request #164 from sabeegrewal/progressClean
Moving to version 0.15.0 of the EventHubs Java Client
This commit is contained in:
Коммит
5100b4a5e8
|
@ -22,7 +22,6 @@ import scala.collection.JavaConverters._
|
|||
|
||||
import EventHubsOffsetTypes.EventHubsOffsetType
|
||||
import com.microsoft.azure.eventhubs.{EventHubClient => AzureEventHubClient, _}
|
||||
import com.microsoft.azure.servicebus._
|
||||
|
||||
import org.apache.spark.{SparkEnv, TaskContext}
|
||||
import org.apache.spark.eventhubscommon.EventHubNameAndPartition
|
||||
|
|
|
@ -26,7 +26,7 @@ import scala.concurrent.duration._
|
|||
import scala.util.{Failure, Success}
|
||||
import scala.xml.XML
|
||||
|
||||
import com.microsoft.azure.servicebus.SharedAccessSignatureTokenProvider
|
||||
import com.microsoft.azure.eventhubs.SharedAccessSignatureTokenProvider
|
||||
import scalaj.http.{Http, HttpResponse}
|
||||
|
||||
import org.apache.spark.eventhubscommon.EventHubNameAndPartition
|
||||
|
|
|
@ -18,13 +18,11 @@
|
|||
package org.apache.spark.eventhubscommon.utils
|
||||
|
||||
import java.time.Instant
|
||||
import java.util.{Calendar, Date}
|
||||
|
||||
import scala.reflect.ClassTag
|
||||
import java.util.Date
|
||||
|
||||
import com.microsoft.azure.eventhubs.EventData
|
||||
import com.microsoft.azure.eventhubs.EventData.SystemProperties
|
||||
import com.microsoft.azure.servicebus.amqp.AmqpConstants
|
||||
import com.microsoft.azure.eventhubs.amqp.AmqpConstants
|
||||
import org.powermock.reflect.Whitebox
|
||||
|
||||
import org.apache.spark.eventhubscommon.EventHubNameAndPartition
|
||||
|
|
|
@ -20,10 +20,9 @@ import scala.collection.mutable.ArrayBuffer
|
|||
|
||||
import com.microsoft.azure.eventhubs._
|
||||
import com.microsoft.azure.eventhubs.EventData.SystemProperties
|
||||
import com.microsoft.azure.servicebus.amqp.AmqpConstants
|
||||
import com.microsoft.azure.eventhubs.amqp.AmqpConstants
|
||||
import org.mockito.Mockito._
|
||||
import org.mockito.internal.util.reflection.Whitebox
|
||||
import org.scalatest.Ignore
|
||||
import org.scalatest.mock.MockitoSugar
|
||||
|
||||
import org.apache.spark.eventhubscommon.client.EventHubsClientWrapper
|
||||
|
|
|
@ -23,7 +23,7 @@ import scala.concurrent.duration._
|
|||
|
||||
import com.microsoft.azure.eventhubs.EventData
|
||||
import com.microsoft.azure.eventhubs.EventData.SystemProperties
|
||||
import com.microsoft.azure.servicebus.amqp.AmqpConstants
|
||||
import com.microsoft.azure.eventhubs.amqp.AmqpConstants
|
||||
import org.mockito.internal.util.reflection.Whitebox
|
||||
import org.scalatest.{BeforeAndAfter, BeforeAndAfterAll, FunSuite}
|
||||
import org.scalatest.concurrent.Eventually
|
||||
|
|
2
pom.xml
2
pom.xml
|
@ -196,7 +196,7 @@
|
|||
<dependency>
|
||||
<groupId>com.microsoft.azure</groupId>
|
||||
<artifactId>azure-eventhubs</artifactId>
|
||||
<version>0.14.3</version>
|
||||
<version>0.15.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.scalaj</groupId>
|
||||
|
|
Загрузка…
Ссылка в новой задаче