public class CmdConsume extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CmdConsume.ConsumerSocket |
| Constructor and Description |
|---|
CmdConsume() |
| Modifier and Type | Method and Description |
|---|---|
String |
getWebSocketConsumeUri(String topic) |
int |
run()
Run the consume command.
|
void |
updateConfig(org.apache.pulsar.client.api.ClientBuilder clientBuilder,
org.apache.pulsar.client.api.Authentication authentication,
String serviceURL)
Set client configuration.
|
public void updateConfig(org.apache.pulsar.client.api.ClientBuilder clientBuilder,
org.apache.pulsar.client.api.Authentication authentication,
String serviceURL)
public int run()
throws org.apache.pulsar.client.api.PulsarClientException,
IOException
org.apache.pulsar.client.api.PulsarClientExceptionIOExceptionCopyright © 2017–2022 Apache Software Foundation. All rights reserved.