| Modifier and Type | Method and Description |
|---|---|
static <T> SolaceIO.Read<T> |
SolaceIO.read(com.solacesystems.jcsmp.JCSMPProperties jcsmpProperties,
List<String> queues,
org.apache.beam.sdk.coders.Coder<T> coder,
SolaceIO.InboundMessageMapper<T> inboundMessageMapper)
Read messages from a single Solace PubSub+ broker using JCSMP.
|
SolaceIO.Read<T> |
SolaceIO.Read.withAdvanceTimeoutInMillis(int advanceTimeoutInMillis)
Sets the message polling timeout for this
SolaceIO.Read. |
SolaceIO.Read<T> |
SolaceIO.Read.withCoder(org.apache.beam.sdk.coders.Coder<T> coder)
Sets the
Coder that this SolaceIO.Read will use to encode and decode the elements of the resulting
PCollection. |
SolaceIO.Read<T> |
SolaceIO.Read.withInboundMessageMapper(SolaceIO.InboundMessageMapper<T> inboundMessageMapper)
Sets the
SolaceIO.InboundMessageMapper that this SolaceIO.Read will use to map Solace messages into elements
of the resulting PCollection. |
SolaceIO.Read<T> |
SolaceIO.Read.withJcsmpProperties(com.solacesystems.jcsmp.JCSMPProperties jcsmpProperties)
Sets the JCSMP connection config for Solace PubSub+.
|
SolaceIO.Read<T> |
SolaceIO.Read.withMaxNumRecords(long maxNumRecords)
Sets the max number of records received by this
SolaceIO.Read. |
SolaceIO.Read<T> |
SolaceIO.Read.withMaxReadTime(org.joda.time.Duration maxReadTime)
Sets the max read time (duration) that this
SolaceIO.Read will receive messages. |
SolaceIO.Read<T> |
SolaceIO.Read.withQueues(List<String> queues)
Sets the list of pre-configured queues to which this
SolaceIO.Read will consume messages from. |
SolaceIO.Read<T> |
SolaceIO.Read.withUseSenderTimestamp(boolean useSenderTimestamp)
Sets whether or not for this
SolaceIO.Read to use the sender timestamp to determine the freshness of its
data. |
Copyright © 2022 Solace. All rights reserved.