Skip to content

Commit b0a72fd

Browse files
authored
Update Pulsar-client to 2.7.0 (#170)
1 parent 945a7ed commit b0a72fd

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

function/src/test/scala/cr/pulsar/FunctionInput.scala

+12-1
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ import java.nio.ByteBuffer
2020
import java.{ lang, util }
2121
import java.util.Optional
2222
import java.util.concurrent.CompletableFuture
23-
2423
import org.apache.pulsar.client.api.{ ConsumerBuilder, Schema, TypedMessageBuilder }
2524
import org.apache.pulsar.functions.api.{
25+
StateStore,
2626
Context => JavaContext,
2727
Record => JavaRecord,
2828
WindowContext => JavaWindowContext
@@ -104,6 +104,17 @@ object FunctionInput {
104104
schema: Schema[O]
105105
): TypedMessageBuilder[O] = ???
106106
override def newConsumerBuilder[O](schema: Schema[O]): ConsumerBuilder[O] = ???
107+
override def getStateStore[S <: StateStore](name: String): S = ???
108+
override def getStateStore[S <: StateStore](
109+
tenant: String,
110+
ns: String,
111+
name: String
112+
): S = ???
113+
override def newOutputMessage[O](
114+
clusterName: String,
115+
topicName: String,
116+
schema: Schema[O]
117+
): TypedMessageBuilder[O] = ???
107118
}
108119

109120
def input[A](seq: Seq[A]): util.Collection[JavaRecord[A]] = {

project/Dependencies.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ object Dependencies {
1111
val fs2 = "2.5.3"
1212
val munit = "0.7.22"
1313
val newtype = "0.4.4"
14-
val pulsar = "2.6.2"
14+
val pulsar = "2.7.0"
1515

1616
val betterMonadicFor = "0.3.1"
1717
val contextApplied = "0.1.4"

0 commit comments

Comments
 (0)