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

drop rxjava and completableFuture api #24326

Merged
merged 8 commits into from
Sep 27, 2021

Conversation

yiliuTo
Copy link
Member

@yiliuTo yiliuTo commented Sep 26, 2021

This pr is to drop rxjava and CompletableFuture support in spring cloud for azure messaging modules.

@yiliuTo yiliuTo added Client This issue points to a problem in the data-plane of the library. azure-spring All azure-spring related issues labels Sep 26, 2021
@yiliuTo yiliuTo added this to the [2021] October milestone Sep 26, 2021
@yiliuTo yiliuTo self-assigned this Sep 26, 2021
@yiliuTo
Copy link
Member Author

yiliuTo commented Sep 26, 2021

/azp run java - spring - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@yiliuTo
Copy link
Member Author

yiliuTo commented Sep 26, 2021

/azp run java - spring - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@@ -60,13 +60,17 @@ protected void internalSubscribe(String name, Consumer<Message<?>> consumer, Cla
this.checkpointConfig, payloadType, consumer, this.messageConverter) {

@Override
protected String buildCheckpointFailMessage(Message<?> message) {
return String.format(MSG_FAIL_CHECKPOINT, message, name);
protected void buildCheckpointFailMessage(Message<?> message, Throwable t) {
Copy link
Member

Choose a reason for hiding this comment

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

If this method is used to log information, should we change the method names accordingly?

}

@Override
protected String buildCheckpointSuccessMessage(Message<?> message) {
return String.format(MSG_SUCCESS_CHECKPOINT, message, name, getCheckpointConfig().getCheckpointMode());
protected void buildCheckpointSuccessMessage(Message<?> message) {
Copy link
Member

Choose a reason for hiding this comment

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

same here

@@ -98,14 +98,18 @@ protected void internalSubscribe(String name,
final DefaultServiceBusMessageProcessor messageProcessor = new DefaultServiceBusMessageProcessor(
this.checkpointConfig, payloadType, consumer, this.messageConverter) {
@Override
protected String buildCheckpointFailMessage(Message<?> message) {
return String.format(MSG_FAIL_CHECKPOINT, consumer, name, message);
protected void buildCheckpointFailMessage(Message<?> message, Throwable t) {
Copy link
Member

Choose a reason for hiding this comment

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

same here

protected String buildCheckpointSuccessMessage(Message<?> message) {
return String.format(MSG_SUCCESS_CHECKPOINT, consumer, name, message,
getCheckpointConfig().getCheckpointMode());
protected void buildCheckpointSuccessMessage(Message<?> message) {
Copy link
Member

Choose a reason for hiding this comment

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

same here

@yiliuTo
Copy link
Member Author

yiliuTo commented Sep 27, 2021

/azp run java - spring - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

package com.azure.spring.servicebus.core;
package com.azure.spring.servicebus.resourcemanager;
Copy link
Member

Choose a reason for hiding this comment

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

How about we name this package as xxx.provisioning, Just like org.springframework.cloud.stream.provisioning.ProvisioningProvider?

Copy link
Member Author

Choose a reason for hiding this comment

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

Good idea!

@yiliuTo
Copy link
Member Author

yiliuTo commented Sep 27, 2021

/azp run java - spring - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Member

@saragluna saragluna left a comment

Choose a reason for hiding this comment

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

LGTM.

@yiliuTo yiliuTo merged commit 6fadec5 into Azure:feature/azure-spring-cloud-4.0 Sep 27, 2021
azure-sdk pushed a commit to azure-sdk/azure-sdk-for-java that referenced this pull request Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
azure-spring All azure-spring related issues Client This issue points to a problem in the data-plane of the library.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Drop RXJava and CompletableFuture support from azure-spring-integration module
3 participants