Step 2: Clone and Build the Client

Update the configurations in the src/main/resources/arguments.yaml file. The required configurations apply to all the examples, and the optional configurations depend on which example is being executed.

  1. Clone the pub-sub-api GitHub repository.
  2. In a terminal window, navigate to the java folder in your cloned pub-sub-api folder.
  3. Build the Java client package and generate required sources from the proto file. From the java folder, enter: mvn clean install