May 2019
Intermediate to advanced
442 pages
11h 36m
English
As a high-level overview, the adapter takes care of launching and managing our custom service discovery code, consuming the groups of targets it produces, converting them into file_sd format, and ensuring that the JSON data is written to a file when required. When writing a service discovery integration using this adapter, no change is needed in its code, and so it can just be imported as a library. To give a bit more context about what the adapter is doing, we're going to explain some of the lower-level details so that its behaviors are clear when we implement our own discovery using it.
The following snippet illustrates the Run function of the adapter that we will need to invoke from our code. This function ...
Read now
Unlock full access