Skip to content

Commit

Permalink
Update Pulsar-client to 2.7.0 (#170)
Browse files Browse the repository at this point in the history
  • Loading branch information
psisoyev authored Mar 5, 2021
1 parent 945a7ed commit b0a72fd
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
13 changes: 12 additions & 1 deletion function/src/test/scala/cr/pulsar/FunctionInput.scala
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ import java.nio.ByteBuffer
import java.{ lang, util }
import java.util.Optional
import java.util.concurrent.CompletableFuture

import org.apache.pulsar.client.api.{ ConsumerBuilder, Schema, TypedMessageBuilder }
import org.apache.pulsar.functions.api.{
StateStore,
Context => JavaContext,
Record => JavaRecord,
WindowContext => JavaWindowContext
Expand Down Expand Up @@ -104,6 +104,17 @@ object FunctionInput {
schema: Schema[O]
): TypedMessageBuilder[O] = ???
override def newConsumerBuilder[O](schema: Schema[O]): ConsumerBuilder[O] = ???
override def getStateStore[S <: StateStore](name: String): S = ???
override def getStateStore[S <: StateStore](
tenant: String,
ns: String,
name: String
): S = ???
override def newOutputMessage[O](
clusterName: String,
topicName: String,
schema: Schema[O]
): TypedMessageBuilder[O] = ???
}

def input[A](seq: Seq[A]): util.Collection[JavaRecord[A]] = {
Expand Down
2 changes: 1 addition & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ object Dependencies {
val fs2 = "2.5.3"
val munit = "0.7.22"
val newtype = "0.4.4"
val pulsar = "2.6.2"
val pulsar = "2.7.0"

val betterMonadicFor = "0.3.1"
val contextApplied = "0.1.4"
Expand Down

0 comments on commit b0a72fd

Please sign in to comment.