pub struct SourceConfig {
pub tenant: String,
pub namespace: String,
pub name: String,
pub class_name: String,
pub topic_name: String,
pub parallelism: i32,
pub configs: Option<Value>,
}Expand description
Java SourceConfig — declarative description of a Pulsar IO
Source. Mirrors org.apache.pulsar.common.io.SourceConfig (Jackson
camelCase on the wire). Only the fields the JAX-RS create /
update paths require are typed; per-connector knobs ride along in
the open-ended configs map so a forward broker can add fields
without a magnetar release.
Fields§
§tenant: StringTenant owning the source. Must match the URL path tenant.
namespace: StringNamespace owning the source. Must match the URL path namespace.
name: StringSource name. Must match the URL path name.
class_name: StringFully-qualified connector class (e.g.
org.apache.pulsar.io.kafka.KafkaSource).
topic_name: StringDestination topic the source writes to.
parallelism: i32Number of source instances to schedule.
configs: Option<Value>Connector-specific configuration map. Skipped from JSON when
None so a null does not override the broker default.
Trait Implementations§
Source§impl Clone for SourceConfig
impl Clone for SourceConfig
Source§fn clone(&self) -> SourceConfig
fn clone(&self) -> SourceConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more