UPDATE TOPIC
Syntax
Description
Updates a Topic with new Topic Parameters. Only logical-layer parameters of a Topic may be updated after it's been created. Logical-layer parameters are the ones that allow DeltaStream to operate on the Topic. For updating physical-layer parameters, a Topic must be recreated. See DROP TOPIC and CREATE TOPIC.
Arguments
topic_name
The name of the existing Topic to update. For case-sensitive names, the name must be wrapped in double quotes, otherwise, the lowercased name will be used.
IN STORE store_name
Optionally, update the Topic in a specific Store. For case-sensitive names, the name must be wrapped in double quotes, otherwise, the lowercased name will be used.
WITH (topic_parameter = value [, …])
Optionally, this clause specifies Topic Parameters.
Topic Parameters
Parameter Name | Description |
---|---|
| A qualified Descriptor name used to decode a record's key, if applicable. Clear the Descriptor by specifying |
| A qualified Descriptor name used to decode a record's value. Clear the Descriptor by specifying |
Examples
Add Descriptors to a Topic
The following updates the key and value descriptors for the Topic transactions
in the user's default Store, demostore
:
Remove Descriptors from a Topic
The following sets the key and value descriptors for the Topic transactions
in the user's default Store to be NULL
:
Add value Descriptor to Topic in a specific Store
The following sets the value Descriptor for the Topic xActs
in a specific Store, OtherStore
:
Last updated