| 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 Schema<GenericRecord> |
Schema.AUTO_CONSUME()
Create a schema instance that automatically deserialize messages
based on the current topic schema.
|
static Schema<GenericRecord> |
Schema.AUTO()
Deprecated.
|
static GenericSchema<GenericRecord> |
Schema.generic(SchemaInfo schemaInfo)
Returns a generic schema of existing schema info.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
GenericSchema<T extends GenericRecord>
A schema that serializes and deserializes between
GenericRecord and bytes. |
| Modifier and Type | Method and Description |
|---|---|
GenericRecord |
GenericRecordBuilder.build()
Build a generic record.
|
| Modifier and Type | Method and Description |
|---|---|
GenericSchema<GenericRecord> |
PulsarClientImplementationBinding.getGenericSchema(SchemaInfo schemaInfo) |
Schema<GenericRecord> |
PulsarClientImplementationBinding.newAutoConsumeSchema() |
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.