The bridge service is a service that decodes quads from ADS, applies RDA filtering, and publishes the callibrated (engineering) values in the Open Data Format using the Stream API. All parameters, except virtual parameters, available to the team will be available as callibrated values and accessible via the Stream API. The bridge service is a licenced product and requires a licenced ADS instance to use it.
Before starting the docker image, create a AppConfig.json file in a folder and use the following template:
{
"StreamApiConfig": {
"StreamCreationStrategy": 2,
"BrokerUrl": "kafka:9092",
"PartitionMappings": [ {} ],
"IntegrateSessionManagement": true,
"IntegrateDataFormatManagement": true,
"UseRemoteKeyGenerator": false,
"RemoteKeyGeneratorServiceAddress": "",
"BatchingResponses": false,
"StreamApiPort": 13579
},
"StreamSelectionConfig": {
"Auto": true,
"Mappings": [ {} ]
},
"RdaConfig": {
"PulFilesSearchPaths": [ "/Puls" ]
},
"EssentialsConfig": {
"CfgDirectoryPaths": [ "/Cfgs" ],
"PgvDirectoryPaths": [ "/Pgvs" ]
}
}
For more info on possible configuration options, click on the following links:
Once the AppConfig.json is setup, the following docker compose can be used to start the services:
name: bridge-service
services:
zookeeper:
image: confluentinc/cp-zookeeper:latest
container_name: zookeeper
environment:
ZOOKEEPER_CLIENT_PORT: 2181
ZOOKEEPER_TICK_TIME: 2000
ports:
- 12181:2181
kafka:
image: confluentinc/cp-kafka:latest
depends_on:
- zookeeper
container_name: kafka
ports:
- 9092:9092
environment:
KAFKA_BROKER_ID: 1
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://kafka:9093,PLAINTEXT_HOST://kafka:9092
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: PLAINTEXT:PLAINTEXT,PLAINTEXT_HOST:PLAINTEXT
KAFKA_INTER_BROKER_LISTENER_NAME: PLAINTEXT
KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
bridge-service:
container_name: bridge-service
image: mclarenapplied/bridge-service-host:latest
depends_on:
- zookeeper
- kafka
ports:
- 13579:13579
- 9697:9697
volumes:
- /path/to/AppConfig.json/folder:/app/Configs
- /path/to/pgvs/folder:/Pgvs
- /path/to/cfgs/folder:/Cfgs
- /path/to/pul files/folder:/Puls
Modify the volumes to the paths containing the AppConfig.json, PGVs, CFGs, and PUL files.
Content type
Image
Digest
sha256:07bc6e1cf…
Size
140.2 MB
Last updated
17 days ago
docker pull atlasplatformdocker/bridge-service-host