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

Kudu: towards 1.0 #1184

Merged
merged 5 commits into from
Sep 17, 2018
Merged

Kudu: towards 1.0 #1184

merged 5 commits into from
Sep 17, 2018

Conversation

ennru
Copy link
Member

@ennru ennru commented Sep 3, 2018

This PR aligns the Kudu connector code with the recommended Alpakka module style.

The API has been changed:

  1. Flows and sinks are now created from KuduTable factory (was KuduTableStage)
  2. To create flows and sinks, the KuduClient is passed as an (implicit) argument. It is now the responsibility of the user to manage the client instance life-cycle.
  3. The KuduTableSettings are no case class anymore, but factory methods with all required settings are still available.

Fixed #1081

@ennru
Copy link
Member Author

ennru commented Sep 3, 2018

WDYT @SandishKumarHN

} catch (KuduException e) {
e.printStackTrace();
}
});
Copy link
Member

Choose a reason for hiding this comment

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

Good. This management of the client on shutdown could be done automatically in an extension.

Copy link
Member

@2m 2m left a comment

Choose a reason for hiding this comment

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

LGTM

@2m 2m merged commit 54a4a16 into akka:master Sep 17, 2018
@2m 2m added this to the 0.21 milestone Sep 17, 2018
@ennru ennru deleted the ennru_kudu-towards-1.0 branch September 17, 2018 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants