Skip to content

Commit

Permalink
fix: Add missing flags for running in hybrid mode to SDK Go Getting S…
Browse files Browse the repository at this point in the history
…tarted (edgexfoundry#1133)

Signed-off-by: Leonard Goodell <leonard.goodell@intel.com>
  • Loading branch information
Lenny Goodell authored Jun 12, 2023
1 parent 1da4ee0 commit 8f35d99
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docs_src/getting-started/Ch-GettingStartedSDK-Go.md
Original file line number Diff line number Diff line change
Expand Up @@ -365,12 +365,20 @@ sends to EdgeX:
``` bash
cd ~/edgexfoundry/device-simple/cmd/device-simple
./device-simple
./device-simple -cp -d
```
This starts the service and immediately displays log entries in the
terminal.
!!! edgey "EdgeX 3.0"
In EdgeX 3.0, services must be provided with a flag indicating where the new common configuration can be found.
In most case this will be `-cp/--configProvider` specifying to use the Configuration Provider for configuration.
Alternatively the `-cc/--commonConfig` flag can be used to specify a file that contains the common configuration.
In addition, when running in hybrid mode the `-d/--dev` flag tells the service that it is running in hybrid mode and to override
the `Host` names for dependencies with `localhost`.
See [Command Line Options](../../microservices/configuration/CommonCommandLineOptions/) for more details.
3. Using a browser, enter the following URL to see the event/reading
data that the service is generating and sending to EdgeX:
Expand Down

0 comments on commit 8f35d99

Please sign in to comment.