Skip to content
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

Improve Kafka integration docs #237

Closed
Tracked by #265
gvdongen opened this issue Dec 18, 2023 · 1 comment
Closed
Tracked by #265

Improve Kafka integration docs #237

gvdongen opened this issue Dec 18, 2023 · 1 comment

Comments

@gvdongen
Copy link
Contributor

gvdongen commented Dec 18, 2023

The Java-Kafka docs need improvement: https://docs.restate.dev/services/sdk/kafka/#:~:text=RestateContext%20ctx%2C-,Event,-event)%20%7B

It is not really clear when I can/should use:
dev.restate.Event
And when I can/should use:

message MyEvent {
    string id = 1 [(dev.restate.ext.field) = KEY];

    bytes payload = 2 [(dev.restate.ext.field) = EVENT_PAYLOAD];

    // This is optional
    map<string, string> metadata = 3 [(dev.restate.ext.field) = EVENT_METADATA];
}

Improve the docs on parallelism / key requirements / etc.

@gvdongen
Copy link
Contributor Author

Fixes by #352 #351

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant