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

KV Transform support. #1098

Merged
merged 4 commits into from
Mar 20, 2024
Merged

KV Transform support. #1098

merged 4 commits into from
Mar 20, 2024

Conversation

scottf
Copy link
Contributor

@scottf scottf commented Mar 13, 2024

KV Transform support by ensuring using stream name in KV under the cover subscriptions. Also fixed not properly building StreamConfiguration for transform

@scottf scottf changed the title KV Transform support by ensuring using stream name in KV under the co… KV Transform support. Mar 14, 2024
@scottf scottf requested review from Jarema and piotrpio March 14, 2024 00:03
@@ -71,6 +71,7 @@ protected MessageInfo _getBySeq(long seq) throws IOException, JetStreamApiExcept

protected void visitSubject(String subject, DeliverPolicy deliverPolicy, boolean headersOnly, boolean ordered, MessageHandler handler) throws IOException, JetStreamApiException, InterruptedException {
PushSubscribeOptions pso = PushSubscribeOptions.builder()
.stream(streamName)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's always better to supply the stream when you know it, this should have been there originally.

@@ -132,6 +131,7 @@ public SourceBaseBuilder(SourceBase base) {
this.startTime = base.startTime;
this.filterSubject = base.filterSubject;
this.external = base.external;
this.subjectTransforms = base.getSubjectTransforms();
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was originally missed.

@@ -1392,7 +1393,7 @@ public void testMiscCoverage() throws Exception {
}

@Test
public void testMirrorSoureceBuilderPrefixConversion() throws Exception {
public void testMirrorSourceBuilderPrefixConversion() throws Exception {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed spelling

@scottf scottf merged commit b1045c3 into main Mar 20, 2024
2 checks passed
@scottf scottf deleted the kv-transform-support branch March 20, 2024 11:39
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