Topic Browser
Last updated
internal:
topicBrowser:
desiredState: "active" # Enable/disable
agent:
graphql:
enabled: true # Enable GraphQL API (required!)
port: 8090 # API port
debug: false # Set true for GraphiQL UI{
topics(filter: {
text: "temperature",
meta: [{ key: "data_contract", eq: "_pump_v1" }]
}) {
topic
metadata {
key
value
}
lastEvent {
... on TimeSeriesEvent {
producedAt
numericValue
scalarType
}
}
}
}curl -X POST http://localhost:8090/graphql \
-H "Content-Type: application/json" \
-d '{"query": "{ topics(limit: 10) { topic } }"}'