You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Jakob Homan (JIRA)" <ji...@apache.org> on 2014/02/13 03:46:19 UTC
[jira] [Commented] (SAMZA-145) Bootstrap config doesn't work
[ https://issues.apache.org/jira/browse/SAMZA-145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13899957#comment-13899957 ]
Jakob Homan commented on SAMZA-145:
-----------------------------------
+1. Scala's getting on my nerves recently.
> Bootstrap config doesn't work
> -----------------------------
>
> Key: SAMZA-145
> URL: https://issues.apache.org/jira/browse/SAMZA-145
> Project: Samza
> Issue Type: Bug
> Components: container
> Affects Versions: 0.6.0
> Reporter: Chris Riccomini
> Assignee: Chris Riccomini
> Attachments: SAMZA-145.0.patch
>
>
> Setting a stream as a bootstrap stream is ignored by Samza. This is because of this line in DefaultChooserConfig:
> {code}
> def getBootstrapStreams = config
> .getInputStreams
> .map(systemStream => (systemStream, getOrElse(BOOTSTRAP format (systemStream.getSystem, systemStream.getStream), "false").equals("true")))
> .filter(_._2.equals("true"))
> .map(_._1)
> {code}
> The filter should be .equals(true), not as a string.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)