Configure the broker

P4Broker is controlled by a broker configuration file. The broker configuration file is a text file that contains rules for:

  • Specifying which commands that individual users can use.
  • Defining commands that are to be redirected to a specified replica server.

To generate a sample broker configuration file, issue the following command:

$ p4broker -C > p4broker.conf

You can edit the newly created p4broker.conf file to specify your requirements.