Part of Goal T354780
Description
Coming out of T354199, the Java client library should be refactored such that the current submit methods require stream name as a parameter rather than relying on configuration to match stream names and events.
The current logic in the Java client library relies on looping through stream configs and matching event names and event name prefixes to determine if an event should be added to the batch queue. The submit methods can be simplified so that stream name is a required parameter.
Once this logic is refactored, the Java client library will no longer be able to broadcast events to streams. Rather each event should pass in the stream name during submission.
Acceptance Criteria
- All api submit methods in the Java client require stream name.
- The Java client submit methods are more in alignment with the Javascript and PHP client libraries
- Relevant tests are updated.
- Documentation is updated accordingly.
- For backwards compatibility, mark outdated methods as deprecated