Class CmdRead


public class CmdRead extends AbstractCmdConsume
pulsar-client read command implementation.
  • Constructor Details

    • CmdRead

      public CmdRead()
  • Method Details

    • run

      public int run() throws org.apache.pulsar.client.api.PulsarClientException, IOException
      Run the read command.
      Returns:
      0 for success, < 0 otherwise
      Throws:
      org.apache.pulsar.client.api.PulsarClientException
      IOException
    • getWebSocketReadUri

      public String getWebSocketReadUri(String topic)