jose-correia commented on PR #13:
URL:
https://github.com/apache/sling-org-apache-sling-distribution-journal-messages/pull/13#issuecomment-1246667523
@tmaret for example in our specific use-case we run `createPoller()` with
the following `filterProperties`:
```json
{
"publishRegions": "aus"
}
```
Then our `MessagingProvider` implementation knows the exact way for
filtering the topics in our specific Journal, and uses this map to create the
actual filtering in the journal message:
```json
{
"properties": [
{
"name": "publishRegions",
"values": ["aus"]
}
]
}
```
Since the API is abstracted enough this way we can support other filtering
implementation, its just a matter of the MessagingProvider creating the final
format, since only he knows the exact semantics of the Journal integration it
is supporting.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]