Skip to content

Zl/ingestion fixes#286

Merged
feast-ci-bot merged 3 commits into
feast-dev:0.3-devfrom
zhilingc:zl/ingestion-fixes
Nov 4, 2019
Merged

Zl/ingestion fixes#286
feast-ci-bot merged 3 commits into
feast-dev:0.3-devfrom
zhilingc:zl/ingestion-fixes

Conversation

@zhilingc
Copy link
Copy Markdown
Collaborator

@zhilingc zhilingc commented Nov 4, 2019

Fixing some issues that the job consolidation in PR #279 caused.
Main issue was that each subgraph consumed from the same consumer group, which caused issues for jobs involving more than 1 feature set.

To remedy this, in this fix, we only have a single read from source node, and fan out from there.

Original ingestion job:

                 +------------+
                 |            |
               +-+  writeRow  |
 +-----------+ | |            |
 |           | | +------------+
 | readKafka +-+                   
 |           | | +------------+
 +-----------+ | |            |
               +-+ writeError |
                 |            |
                 +------------+
.
.
.
                 +------------+
                 |            |
               +-+  writeRow  |
 +-----------+ | |            |
 |           | | +------------+
 | readKafka +-+                   
 |           | | +------------+
 +-----------+ | |            |
               +-+ writeError |
                 |            |
                 +------------+

where each readKafka node shared a single consumer group

Fix:

                                   +-------------+
                                   |             |
                                +--+  writeRows  |
                 +------------+ |  |             |
                 |            | |  +-------------+
              +--+  validate  +-+
              |  |            | |  +-------------+
              |  +------------+ |  |             |
              |                 +--+ writeErrors |
+-----------+ |                    |             |
|           | |        .           +-------------+
| readKafka +-+        .
|           | |        .           +-------------+
+-----------+ |                    |             |
              |                 +--+  writeRows  |
              |  +------------+ |  |             |
              |  |            | |  +-------------+
              +--+  validate  +-+
                 |            | |  +-------------+
                 +------------+ |  |             |
                                +--+ writeErrors |
                                   |             |
                                   +-------------+

2. Move validation outside of read from source
@zhilingc
Copy link
Copy Markdown
Collaborator Author

zhilingc commented Nov 4, 2019

/retest

Comment thread ingestion/src/main/java/feast/ingestion/ImportJob.java
Comment thread ingestion/src/main/java/feast/ingestion/ImportJob.java Outdated
@feast-ci-bot
Copy link
Copy Markdown
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: thirteen37, zhilingc

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [thirteen37,zhilingc]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Co-Authored-By: Yu-Xi Lim <thirteen37@users.noreply.github.com>
@thirteen37
Copy link
Copy Markdown
Collaborator

/lgtm

@feast-ci-bot feast-ci-bot merged commit 79eb4ab into feast-dev:0.3-dev Nov 4, 2019
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.

3 participants