Class CmdConsume

All Implemented Interfaces:
Callable<Integer>

public class CmdConsume extends AbstractCmdConsume
pulsar-client consume command implementation.
  • Constructor Details

    • CmdConsume

      public CmdConsume()
  • Method Details

    • run

      public int run() throws IOException
      Run the consume command.
      Returns:
      0 for success, invalid input: '<' 0 otherwise
      Throws:
      IOException
    • getWebSocketConsumeUri

      public String getWebSocketConsumeUri(String topic)