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

Add support for DLT with Pulsar #618

Merged
merged 1 commit into from
Oct 19, 2023
Merged

Add support for DLT with Pulsar #618

merged 1 commit into from
Oct 19, 2023

Conversation

cbornet
Copy link
Member

@cbornet cbornet commented Oct 18, 2023

No description provided.

@cbornet cbornet requested a review from eolivelli October 18, 2023 21:41
@@ -145,7 +145,7 @@ public Topic getTopicByName(String name) {

public TopicDefinition getTopicDefinitionByName(String name) {
return topics.entrySet().stream()
.filter(e -> e.getKey().getName().equals(name))
.filter(e -> e.getValue().topicName().equals(name))
Copy link
Member Author

Choose a reason for hiding this comment

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

We lookup by topic name instead of TopicDefinition name, Is it OK?

Copy link
Member

Choose a reason for hiding this comment

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

if all the tests are passing then I guess that it is okay

@@ -342,7 +342,7 @@ private Topic buildImplicitTopicForDeadletterQueue(
StreamingClusterRuntime streamingClusterRuntime,
ExecutionPlan physicalApplicationInstance) {
// connecting two agents requires an intermediate topic
String name = connection.topicName() + "-deadletter";
String name = inputTopicDefinition.getName() + "-deadletter";
Copy link
Member Author

Choose a reason for hiding this comment

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

We use the TopicDefinition name instead of the topic name. Is it OK?

Copy link
Member

Choose a reason for hiding this comment

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

if all the tests are passing then I guess that it is okay

@eolivelli eolivelli merged commit a3284dc into main Oct 19, 2023
9 checks passed
@eolivelli eolivelli deleted the pulsar-dlt branch October 19, 2023 08:47
benfrank241 pushed a commit to vectorize-io/langstream that referenced this pull request May 2, 2024
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.

2 participants