-
Notifications
You must be signed in to change notification settings - Fork 33
Add redis doc #90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
alepane21
merged 15 commits into
main
from
ale/eng-6482-edfs-refactor-kafka-and-nats-as-datasource-in-router
Jun 26, 2025
Merged
Add redis doc #90
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
86e412c
Documentation edits made through Mintlify web editor
mintlify[bot] 0a33d1b
Documentation edits made through Mintlify web editor
mintlify[bot] 9f43bab
Documentation edits made through Mintlify web editor
mintlify[bot] 00f2fef
Documentation edits made through Mintlify web editor
mintlify[bot] 4b76e65
Documentation edits made through Mintlify web editor
mintlify[bot] f0c6e32
Documentation edits made through Mintlify web editor
mintlify[bot] 236329f
Documentation edits made through Mintlify web editor
mintlify[bot] 57c721c
Documentation edits made through Mintlify web editor
mintlify[bot] 89a3d49
Documentation edits made through Mintlify web editor
mintlify[bot] f099408
Documentation edits made through Mintlify web editor
mintlify[bot] 3d6e8c5
Merge remote-tracking branch 'origin/main' into ale/eng-6482-edfs-ref…
alepane21 400bc0a
chore: add redis to federation menu
alepane21 7262d71
chore: fix redis federation page
alepane21 62881e6
chore: small fixes
alepane21 89ae5f8
Documentation edits made through Mintlify web editor
mintlify[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 48 additions & 0 deletions
48
docs/federation/event-driven-federated-subscriptions/redis.mdx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,48 @@ | ||
| --- | ||
| title: "Redis" | ||
| icon: "sitemap" | ||
| --- | ||
|
|
||
| ## Definitions | ||
|
|
||
| <Note> | ||
| The `providerId` argument, including the default value "default", _must_ correspond to an equivalent property in _events.providers.redis_ entry of the router config.yml. | ||
| </Note> | ||
|
|
||
| ### @edfs_redisPublish | ||
|
|
||
| ```js | ||
| directive @edfs__redisPublish( | ||
| channel: String!, | ||
| providerId: String! = "default" | ||
| ) on FIELD_DEFINITION | ||
|
|
||
| type edfs__PublishResult { | ||
| success: Boolean! | ||
| } | ||
| ``` | ||
|
|
||
| | Argument name | Type | Value | | ||
| | ------------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------------- | | ||
| | channel | String\! | The event channel. | | ||
| | providerId | String\! | The provider ID, which identifies the connection in the router config.yaml. <br />If unsupplied, the provider ID "default" will be used. | | ||
|
|
||
| ### @edfs__redisSubscribe | ||
|
|
||
| ```js | ||
| directive @edfs__redisSubscribe( | ||
| channels: [String!]!, | ||
| providerId: String! = "default" | ||
| ) on FIELD_DEFINITION | ||
| ``` | ||
|
|
||
| | Argument name | Type | Value | | ||
| | ------------- | ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| | channels | [String\!]\! | The event channels. It is possible to subscribe to multiple topics.<br />Also, subscription is done using `PSUBSCRIBE `so some pattern matching can be used, as per redis documentation: https://redis.io/docs/latest/commands/psubscribe/. | | ||
| | providerId | String\! | The provider ID, which identifies the connection in the router config.yaml. <br />If unsupplied, the provider ID "default" will be used. | | ||
|
|
||
| <CardGroup cols={2}> | ||
| <Card title="Redis" icon="sitemap" horizontal href="/router/event-driven-federated-subscriptions-edfs/redis"> | ||
|
|
||
| </Card> | ||
| </CardGroup> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.58 MB
docs/images/router/event-driven-federated-subscriptions-edfs/redis1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+929 KB
docs/images/router/event-driven-federated-subscriptions-edfs/redis2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.