Package | Description |
---|---|
org.apache.pulsar.client.api |
Pulsar Client API.
|
org.apache.pulsar.client.api.schema |
Schema definitions for Pulsar Client API.
|
org.apache.pulsar.client.internal |
Helpers which provide useful functionality for the implementation of Pulsar Client API.
|
Modifier and Type | Method and Description |
---|---|
static <T> Schema<T> |
Schema.AVRO(SchemaDefinition<T> schemaDefinition)
Create a Avro schema type with schema definition.
|
static <T> Schema<T> |
Schema.JSON(SchemaDefinition schemaDefinition)
Create a JSON schema type with schema definition.
|
static <T extends com.google.protobuf.GeneratedMessageV3> |
Schema.PROTOBUF_NATIVE(SchemaDefinition<T> schemaDefinition)
Create a Protobuf-Native schema type with schema definition.
|
static <T extends com.google.protobuf.GeneratedMessageV3> |
Schema.PROTOBUF(SchemaDefinition<T> schemaDefinition)
Create a Protobuf schema type with schema definition.
|
Modifier and Type | Method and Description |
---|---|
SchemaDefinition<T> |
SchemaDefinitionBuilder.build()
Build the schema definition.
|
Modifier and Type | Method and Description |
---|---|
<T> Schema<T> |
PulsarClientImplementationBinding.newAvroSchema(SchemaDefinition schemaDefinition) |
<T> Schema<T> |
PulsarClientImplementationBinding.newJSONSchema(SchemaDefinition schemaDefinition) |
<T extends com.google.protobuf.GeneratedMessageV3> |
PulsarClientImplementationBinding.newProtobufNativeSchema(SchemaDefinition schemaDefinition) |
<T extends com.google.protobuf.GeneratedMessageV3> |
PulsarClientImplementationBinding.newProtobufSchema(SchemaDefinition schemaDefinition) |
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.