You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Blake Eggleston (JIRA)" <ji...@apache.org> on 2018/03/07 23:56:00 UTC

[jira] [Comment Edited] (CASSANDRA-14115) Refactor streaming

    [ https://issues.apache.org/jira/browse/CASSANDRA-14115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16389721#comment-16389721 ] 

Blake Eggleston edited comment on CASSANDRA-14115 at 3/7/18 11:55 PM:
----------------------------------------------------------------------

I have a first pass of this ready for review [here|https://github.com/bdeggleston/cassandra/tree/14115-v1].

This abstracts the storage layer exposed to streaming behind 4 interfaces:
* [TableStreamManager|https://github.com/bdeggleston/cassandra/blob/14115-v1/src/java/org/apache/cassandra/streaming/TableStreamManager.java]
* [StreamReceiver|https://github.com/bdeggleston/cassandra/blob/14115-v1/src/java/org/apache/cassandra/streaming/StreamReceiver.java]
* [OutgoingStream|https://github.com/bdeggleston/cassandra/blob/14115-v1/src/java/org/apache/cassandra/streaming/OutgoingStream.java]
* [IncomingStream|https://github.com/bdeggleston/cassandra/blob/14115-v1/src/java/org/apache/cassandra/streaming/IncomingStream.java]

The javadocs on each interface explains how they work, and the implementations for the current storage layer are in {{o.a.c.db.streaming}}. That's probably not where they'll be or what they'll be named at the end of this project, but there's plenty of time for bikeshedding about that :)


was (Author: bdeggleston):
I have a first pass of this ready for review [here|https://github.com/bdeggleston/cassandra/tree/14115-v1].

This abstracts the storage layer exposed to streaming behind 4 interfaces:
* [TableStreamManager|https://github.com/bdeggleston/cassandra/blob/14115-v1/src/java/org/apache/cassandra/streaming/TableStreamManager.java]
* [StreamReceiver|https://github.com/bdeggleston/cassandra/blob/14115-v1/src/java/org/apache/cassandra/streaming/StreamReceiver.java]
* [OutgoingStream|https://github.com/bdeggleston/cassandra/blob/14115-v1/src/java/org/apache/cassandra/streaming/OutgoingStream.java]
* [IncomingStream|https://github.com/bdeggleston/cassandra/blob/14115-v1/src/java/org/apache/cassandra/streaming/OutgoingStream.java]

The javadocs on each interface explains how they work, and the implementations for the current storage layer are in {{o.a.c.db.streaming}}. That's probably not where they'll be or what they'll be named at the end of this project, but there's plenty of time for bikeshedding about that :)

> Refactor streaming
> ------------------
>
>                 Key: CASSANDRA-14115
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14115
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: Streaming and Messaging
>            Reporter: Dikang Gu
>            Assignee: Blake Eggleston
>            Priority: Major
>             Fix For: 4.0
>
>
> As part of the pluggable storage engine effort, we'd like to modularize the streaming related code, make it to be independent from existing storage engine implementation details.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org