Skip to content

Conversation

RuairiSpain
Copy link

@RuairiSpain RuairiSpain commented Apr 19, 2025

Add support for startFrom query parameter in HTTP handler.

  • Modify src/route/handlers.go to parse the startFrom query parameter in the SSEHandler function.
  • Add code to apply seek after subscribing based on the startFrom query parameter in src/route/handlers.go.
  • Create a new file src/pulsarutil/start_pos.go and add the GetStartOption function to handle the startFrom query parameter.

For more details, open the Copilot Workspace session.

Add support for `startFrom` query parameter in HTTP handler.

* Modify `src/route/handlers.go` to parse the `startFrom` query parameter in the `SSEHandler` function.
* Add code to apply seek after subscribing based on the `startFrom` query parameter in `src/route/handlers.go`.
* Create a new file `src/pulsarutil/start_pos.go` and add the `GetStartOption` function to handle the `startFrom` query parameter.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/kafkaesque-io/pulsar-beam?shareId=XXXX-XXXX-XXXX-XXXX).
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

Successfully merging this pull request may close these issues.

1 participant