- Channel - Class in com.opendxl.streaming.client
-
The
Channel class is responsible for all communication with the streaming service.
- Channel(String, ChannelAuth, String, String, String, boolean, String, Properties, HttpProxySettings) - Constructor for class com.opendxl.streaming.client.Channel
-
- Channel(String, ChannelAuth, String, String, String, String, boolean, String, Properties, HttpProxySettings) - Constructor for class com.opendxl.streaming.client.Channel
-
- ChannelAuth - Interface in com.opendxl.streaming.client
-
Interface to be implemented by Authentication classes responsible for adding the Authorization header to channel
requests.
- ChannelAuthToken - Class in com.opendxl.streaming.client.auth
-
Authentication class where a given fixed token is used in Authorization headers of channel requests.
- ChannelAuthToken(String) - Constructor for class com.opendxl.streaming.client.auth.ChannelAuthToken
-
- ChannelAuthUserPass - Class in com.opendxl.streaming.client.auth
-
Authentication class where a token is retrieved from a base URL for the given user and password and such token is
later used in Authorization headers of channel requests.
- ChannelAuthUserPass(String, String, String, String, String, HttpProxySettings) - Constructor for class com.opendxl.streaming.client.auth.ChannelAuthUserPass
-
- ChannelBuilder - Class in com.opendxl.streaming.client.builder
-
- ChannelBuilder(String, ChannelAuth, String) - Constructor for class com.opendxl.streaming.client.builder.ChannelBuilder
-
- ClientError - Exception in com.opendxl.streaming.client.exception
-
- ClientError(String, Throwable) - Constructor for exception com.opendxl.streaming.client.exception.ClientError
-
- CliUtils - Class in com.opendxl.streaming.cli
-
Facilities for command line options
- close() - Method in class com.opendxl.streaming.client.Channel
-
Closes the channel.
- close() - Method in interface com.opendxl.streaming.client.Consumer
-
Closes the channel.
- close() - Method in class com.opendxl.streaming.client.HttpConnection
-
Closes the request object and its supporting HttpClient.
- close() - Method in interface com.opendxl.streaming.client.Producer
-
Closes the Producer channel.
- close() - Method in class com.opendxl.streaming.client.Request
-
Closes the request object and its supporting HttpConnection.
- com.opendxl.streaming.cli - package com.opendxl.streaming.cli
-
- com.opendxl.streaming.cli.entity - package com.opendxl.streaming.cli.entity
-
- com.opendxl.streaming.cli.operation - package com.opendxl.streaming.cli.operation
-
- com.opendxl.streaming.client - package com.opendxl.streaming.client
-
- com.opendxl.streaming.client.auth - package com.opendxl.streaming.client.auth
-
- com.opendxl.streaming.client.builder - package com.opendxl.streaming.client.builder
-
- com.opendxl.streaming.client.entity - package com.opendxl.streaming.client.entity
-
- com.opendxl.streaming.client.exception - package com.opendxl.streaming.client.exception
-
- CommandLineInterface - Class in com.opendxl.streaming.cli
-
Main class for the OpenDXL Streaming Java Client CLI.
- CommandLineInterface(String[]) - Constructor for class com.opendxl.streaming.cli.CommandLineInterface
-
Constructor
- CommandLineOperation - Interface in com.opendxl.streaming.cli.operation
-
Interface for all --operation arguments
- commit() - Method in class com.opendxl.streaming.client.Channel
-
Commits the record offsets to the channel.
- commit() - Method in interface com.opendxl.streaming.client.Consumer
-
Commits the record offsets to the channel.
- CommitOperation - Class in com.opendxl.streaming.cli.operation
-
It represents the "commit" argument for a --operation option
- CommitOperation(Map<Options, ArgumentAcceptingOptionSpec<String>>, OptionSet) - Constructor for class com.opendxl.streaming.cli.operation.CommitOperation
-
Constructor
- configToMap(String) - Static method in class com.opendxl.streaming.cli.CliUtils
-
Get properties from comma-separated config String
- consume() - Method in class com.opendxl.streaming.client.Channel
-
Consumes records from all the subscribed topics
- consume(int) - Method in class com.opendxl.streaming.client.Channel
-
Consumes records from all the subscribed topics
- consume() - Method in interface com.opendxl.streaming.client.Consumer
-
Consumes records from all the subscribed topics
- consume(int) - Method in interface com.opendxl.streaming.client.Consumer
-
Consumes records from all the subscribed topics
- ConsumeOperation - Class in com.opendxl.streaming.cli.operation
-
It represents a --consume operation command line
- ConsumeOperation(Map<Options, ArgumentAcceptingOptionSpec<String>>, OptionSet) - Constructor for class com.opendxl.streaming.cli.operation.ConsumeOperation
-
Constructor
- Consumer - Interface in com.opendxl.streaming.client
-
The
Consumer interface only exposes the
Channel methods to consume records.
- ConsumerBuilder - Class in com.opendxl.streaming.client.builder
-
- ConsumerBuilder(String, ChannelAuth, String) - Constructor for class com.opendxl.streaming.client.builder.ConsumerBuilder
-
- ConsumerError - Exception in com.opendxl.streaming.client.exception
-
Error raised when a channel operation fails due to the associated consumer
not being recognized by the streaming service.
- ConsumerError(String, Throwable, int, HttpRequest) - Constructor for exception com.opendxl.streaming.client.exception.ConsumerError
-
- ConsumerError(String, int, HttpRequest) - Constructor for exception com.opendxl.streaming.client.exception.ConsumerError
-
- ConsumerError(String, Throwable) - Constructor for exception com.opendxl.streaming.client.exception.ConsumerError
-
- ConsumerError(String) - Constructor for exception com.opendxl.streaming.client.exception.ConsumerError
-
- ConsumerRecord() - Constructor for class com.opendxl.streaming.client.entity.ConsumerRecords.ConsumerRecord
-
- ConsumerRecordMessage() - Constructor for class com.opendxl.streaming.client.entity.ConsumerRecords.ConsumerRecordMessage
-
- ConsumerRecordProcessor - Interface in com.opendxl.streaming.client
-
ConsumerRecordProcessor is an interface that must be implemented by the process which receives the consumed records.
- ConsumerRecordRoutingData() - Constructor for class com.opendxl.streaming.client.entity.ConsumerRecords.ConsumerRecordRoutingData
-
- ConsumerRecords - Class in com.opendxl.streaming.client.entity
-
Helper class use to deserialize the ConsumerService responses of consume() requests.
- ConsumerRecords() - Constructor for class com.opendxl.streaming.client.entity.ConsumerRecords
-
- ConsumerRecords.ConsumerRecord - Class in com.opendxl.streaming.client.entity
-
Helper class containing all attributes of a consumed record.
- ConsumerRecords.ConsumerRecordMessage - Class in com.opendxl.streaming.client.entity
-
Headers and payload of the consumed record.
- ConsumerRecords.ConsumerRecordRoutingData - Class in com.opendxl.streaming.client.entity
-
Topic name and sharding key of the consumed record.
- ConsumerServiceError - Class in com.opendxl.streaming.client.entity
-
ConsumerServiceError is a helper class used to parse the JSON object returned by Consumer Service when an error
has occurred.
- ConsumerServiceError(String) - Constructor for class com.opendxl.streaming.client.entity.ConsumerServiceError
-
- create() - Method in class com.opendxl.streaming.client.Channel
-
Creates a new consumer on the consumer group
- create() - Method in interface com.opendxl.streaming.client.Consumer
-
- CreateOperation - Class in com.opendxl.streaming.cli.operation
-
This class represents the "create" argument for a --operation option
- CreateOperation(Map<Options, ArgumentAcceptingOptionSpec<String>>, OptionSet) - Constructor for class com.opendxl.streaming.cli.operation.CreateOperation
-
Constructor
- get(String, Map<Integer, ErrorType>) - Method in class com.opendxl.streaming.client.Request
-
Send a GET request
- getApi() - Method in exception com.opendxl.streaming.client.exception.ClientError
-
Gets the
Channel method name in which the ConsumerError occurred.
- getApi() - Method in exception com.opendxl.streaming.client.exception.StopError
-
Gets the
Channel method name in which the StopError occurred.
- getBaseURL(URL) - Static method in class com.opendxl.streaming.cli.CliUtils
-
Get url based String based on URL instance
- getCertificate(String) - Static method in class com.opendxl.streaming.cli.CliUtils
-
Checks whether the certificate parameter value is an existing filename.
- getCode() - Method in class com.opendxl.streaming.cli.entity.ExecutionResult
-
- getCode() - Method in enum com.opendxl.streaming.client.HttpStatusCodes
-
Get the integer value corresponding to the HTTP Status Code
- getCommandLine(OptionSet, Map<Options, ArgumentAcceptingOptionSpec<String>>) - Static method in class com.opendxl.streaming.cli.CliUtils
-
It gets a list of options used for a specific operation command line
- getCookie(Channel) - Static method in class com.opendxl.streaming.cli.CliUtils
-
Get stickiness cookie from channel
- getDecodedPayload() - Method in class com.opendxl.streaming.client.entity.ConsumerRecords.ConsumerRecord
-
Decodes a Base64 encoded record payload.
- getDomain() - Method in class com.opendxl.streaming.cli.entity.StickinessCookie
-
Get the cookie domain attribute
- getHeaders() - Method in class com.opendxl.streaming.client.entity.ConsumerRecords.ConsumerRecord
-
Gets the record headers.
- getHeaders() - Method in class com.opendxl.streaming.client.entity.ConsumerRecords.ConsumerRecordMessage
-
Gets the record headers.
- getHttpProxySettings(String) - Static method in class com.opendxl.streaming.cli.CliUtils
-
Build an HttpProxySettings object from CLI arguments
- getHttpRequest() - Method in exception com.opendxl.streaming.client.exception.ConsumerError
-
Gets the HttpRequest in which the ConsumerError occurred.
- getHttpRequest() - Method in exception com.opendxl.streaming.client.exception.PermanentError
-
Gets the HttpRequest in which the PermanentError occurred.
- getHttpRequest() - Method in exception com.opendxl.streaming.client.exception.TemporaryError
-
Gets the HttpRequest in which the TemporaryError occurred.
- getHttpStatus(int) - Static method in enum com.opendxl.streaming.client.HttpStatusCodes
-
Get the HttpStatus object for a HTTP Status Code
- getMandatoryOptions() - Method in interface com.opendxl.streaming.cli.operation.CommandLineOperation
-
- getMandatoryOptions() - Method in class com.opendxl.streaming.cli.operation.CommitOperation
- getMandatoryOptions() - Method in class com.opendxl.streaming.cli.operation.ConsumeOperation
- getMandatoryOptions() - Method in class com.opendxl.streaming.cli.operation.CreateOperation
- getMandatoryOptions() - Method in class com.opendxl.streaming.cli.operation.DeleteOperation
- getMandatoryOptions() - Method in class com.opendxl.streaming.cli.operation.LoginOperation
- getMandatoryOptions() - Method in class com.opendxl.streaming.cli.operation.ProduceOperation
- getMandatoryOptions() - Method in class com.opendxl.streaming.cli.operation.SubscribeOperation
- getMandatoryOptions() - Method in class com.opendxl.streaming.cli.operation.SubscriptionsOperation
- getMessage() - Method in class com.opendxl.streaming.client.entity.ConsumerRecords.ConsumerRecord
-
Gets the record message
- getMessage() - Method in class com.opendxl.streaming.client.entity.ConsumerServiceError
-
- getOffset() - Method in class com.opendxl.streaming.client.entity.ConsumerRecords.ConsumerRecord
-
Gets the record offset.
- getOperation(ArgumentAcceptingOptionSpec<String>) - Method in class com.opendxl.streaming.cli.operation.OperationFactory
-
- getOperationName() - Method in interface com.opendxl.streaming.cli.operation.CommandLineOperation
-
- getOperationName() - Method in class com.opendxl.streaming.cli.operation.CommitOperation
- getOperationName() - Method in class com.opendxl.streaming.cli.operation.ConsumeOperation
- getOperationName() - Method in class com.opendxl.streaming.cli.operation.CreateOperation
- getOperationName() - Method in class com.opendxl.streaming.cli.operation.DeleteOperation
- getOperationName() - Method in class com.opendxl.streaming.cli.operation.LoginOperation
- getOperationName() - Method in class com.opendxl.streaming.cli.operation.ProduceOperation
- getOperationName() - Method in class com.opendxl.streaming.cli.operation.SubscribeOperation
- getOperationName() - Method in class com.opendxl.streaming.cli.operation.SubscriptionsOperation
- getOptions() - Method in class com.opendxl.streaming.cli.entity.ExecutionResult
-
- getPartition() - Method in class com.opendxl.streaming.client.entity.ConsumerRecords.ConsumerRecord
-
Gets the partition from which the record is consumed.
- getPassword() - Method in class com.opendxl.streaming.client.HttpProxySettings
-
Get the password required to access the Http Proxy
- getPayload() - Method in class com.opendxl.streaming.client.entity.ConsumerRecords.ConsumerRecord
-
Gets the record payload.
- getPayload() - Method in class com.opendxl.streaming.client.entity.ConsumerRecords.ConsumerRecordMessage
-
Gets the record payload.
- getPort() - Method in class com.opendxl.streaming.client.HttpProxySettings
-
Get the Http Proxy TCP port number
- getProducerRecords() - Method in class com.opendxl.streaming.cli.entity.SimplifiedProducerRecords
-
- getRecords() - Method in class com.opendxl.streaming.client.entity.ConsumerRecords
-
- getRecords() - Method in class com.opendxl.streaming.client.entity.ProducerRecords
-
- getResult() - Method in class com.opendxl.streaming.cli.entity.ExecutionResult
-
- getRoutingData() - Method in class com.opendxl.streaming.client.entity.ConsumerRecords.ConsumerRecord
-
Gets the record routing data
- getShardingKey() - Method in class com.opendxl.streaming.client.entity.ConsumerRecords.ConsumerRecord
-
Gets the sharding key of the consumed record.
- getShardingKey() - Method in class com.opendxl.streaming.client.entity.ConsumerRecords.ConsumerRecordRoutingData
-
Gets the record sharding key.
- getStatusCode() - Method in exception com.opendxl.streaming.client.exception.ClientError
-
Get the HTTP Status Code that caused the error.
- getStatusCode() - Method in exception com.opendxl.streaming.client.exception.ConsumerError
-
Get the HTTP Status Code that caused the ConsumerError.
- getStatusCode() - Method in exception com.opendxl.streaming.client.exception.PermanentError
-
Get the HTTP Status Code that caused the PermanentError.
- getStatusCode() - Method in exception com.opendxl.streaming.client.exception.TemporaryError
-
Get the HTTP Status Code that caused the TemporaryError.
- getTopic() - Method in class com.opendxl.streaming.client.entity.ConsumerRecords.ConsumerRecord
-
Gets the topic name from which the record is consumed.
- getTopic() - Method in class com.opendxl.streaming.client.entity.ConsumerRecords.ConsumerRecordRoutingData
-
Gets the record topic.
- getUrl() - Method in class com.opendxl.streaming.client.HttpProxySettings
-
Get the Http Proxy URL
- getUsername() - Method in class com.opendxl.streaming.client.HttpProxySettings
-
Get the username required to access the Http Proxy
- getValue() - Method in class com.opendxl.streaming.cli.entity.StickinessCookie
-
Get the cookie value attribute
- Request - Class in com.opendxl.streaming.client
-
Request class is used to set up and send HTTP Post, Get and Delete requests to a given URI.
- Request(String, ChannelAuth, String, boolean, HttpProxySettings) - Constructor for class com.opendxl.streaming.client.Request
-
- reset() - Method in class com.opendxl.streaming.client.auth.ChannelAuthToken
-
- reset() - Method in class com.opendxl.streaming.client.auth.ChannelAuthUserPass
-
Purge any credentials cached from a previous authentication.
- reset() - Method in interface com.opendxl.streaming.client.ChannelAuth
-
Purge any credentials cached from a previous authentication.
- resetAuthorization() - Method in class com.opendxl.streaming.client.Request
-
Clean up authorization data which is sent in all requests, e.g.: delete authorization token
- resetCookies() - Method in class com.opendxl.streaming.client.HttpConnection
-
Clean up session data which are sent in all requests, e.g.: delete cookies from HttpClientContext CookieStore
- resetCookies() - Method in class com.opendxl.streaming.client.Request
-
Clean up session data which are sent in all requests, e.g.: delete cookies from HttpClientContext CookieStore
- RoutingData(String, String) - Constructor for class com.opendxl.streaming.client.entity.ProducerRecords.ProducerRecord.RoutingData
-
- run(ConsumerRecordProcessor, List<String>) - Method in class com.opendxl.streaming.client.Channel
-
Repeatedly consume records from the subscribed topics.
- run(ConsumerRecordProcessor, List<String>, int) - Method in class com.opendxl.streaming.client.Channel
-
Repeatedly consume records from the subscribed topics.
- run(ConsumerRecordProcessor, String) - Method in class com.opendxl.streaming.client.Channel
-
Repeatedly consume records from the subscribed topic.
- run(ConsumerRecordProcessor, String, int) - Method in class com.opendxl.streaming.client.Channel
-
Repeatedly consume records from the subscribed topic.
- run(ConsumerRecordProcessor, List<String>) - Method in interface com.opendxl.streaming.client.Consumer
-
Repeatedly consume records from the subscribed topics.
- run(ConsumerRecordProcessor, List<String>, int) - Method in interface com.opendxl.streaming.client.Consumer
-
Repeatedly consume records from the subscribed topics.
- run(ConsumerRecordProcessor, String) - Method in interface com.opendxl.streaming.client.Consumer
-
Repeatedly consume records from the subscribed topic.
- run(ConsumerRecordProcessor, String, int) - Method in interface com.opendxl.streaming.client.Consumer
-
Repeatedly consume records from the subscribed topic.