Skip to content

Conversation

@julianleonard123
Copy link
Contributor

@julianleonard123 julianleonard123 commented Jun 11, 2025

This is Java client app that calls LookupPermissionSets, consumes the events in pages, counts the events consumed, and then starts WatchPermissionSets.

It shows how to interact with the Materialize APIs.

It writes the cursor to a file.

Future Improvement:

Add re-start logic that can use the cursor in the file in case of connection drop / interruption / errors.

Copy link
Contributor

@corkrean corkrean left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

Copy link
Contributor

@tstirrat15 tstirrat15 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! I'm probably going to crib this whenever I get around to writing the kafka connector too.

@julianleonard123 julianleonard123 merged commit a376dc7 into authzed:main Nov 26, 2025
2 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Nov 26, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants