pub struct PublicManagedStream {
pub contract: PublicManagedStreamContract,
pub kafka_properties: HashMap<String, String>,
pub partitions: i64,
pub replication_factor: i64,
}Expand description
A public stream. A stream that can be shared between different tenants, and is accessible over the MQTT protocol adapter.
JSON schema
{
"description": "A public stream. A stream that can be shared between different tenants, and is accessible over the MQTT protocol adapter.\n",
"type": "object",
"allOf": [
{
"$ref": "#/components/schemas/ManagedStream"
},
{
"$ref": "#/components/schemas/PublicManagedStream_allOf"
}
]
}Fields§
§contract: PublicManagedStreamContract§kafka_properties: HashMap<String, String>Additional Kafka properties to be set on the topic. The properties are key-value pairs. The key is the property name and the value is the property value. The following properties are allowed:
cleanup.policy:delete|compactcompression.type:uncompressed|zstd|lz4|snappy|gzip|producerdelete.retention.ms: min 0max.message.bytes: min1024, max1048576(1024x1024)message.timestamp.type:CreateTime|LogAppendTimeretention.bytesmin 0retention.msmin3600000(1 hour), max:3,1536E+10(365 days)segment.bytes: min52428800(1024x1024x50)
partitions: i64§replication_factor: i64Trait Implementations§
Source§impl Clone for PublicManagedStream
impl Clone for PublicManagedStream
Source§fn clone(&self) -> PublicManagedStream
fn clone(&self) -> PublicManagedStream
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PublicManagedStream
impl Debug for PublicManagedStream
Source§impl<'de> Deserialize<'de> for PublicManagedStream
impl<'de> Deserialize<'de> for PublicManagedStream
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for PublicManagedStream
impl Display for PublicManagedStream
Source§impl From<&PublicManagedStream> for PublicManagedStream
impl From<&PublicManagedStream> for PublicManagedStream
Source§fn from(value: &PublicManagedStream) -> Self
fn from(value: &PublicManagedStream) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PublicManagedStream
impl PartialEq for PublicManagedStream
Source§impl Serialize for PublicManagedStream
impl Serialize for PublicManagedStream
impl StructuralPartialEq for PublicManagedStream
Auto Trait Implementations§
impl Freeze for PublicManagedStream
impl RefUnwindSafe for PublicManagedStream
impl Send for PublicManagedStream
impl Sync for PublicManagedStream
impl Unpin for PublicManagedStream
impl UnwindSafe for PublicManagedStream
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more