You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Cameron Lee (Jira)" <ji...@apache.org> on 2021/04/26 21:47:00 UTC
[jira] [Resolved] (SAMZA-2516) Migrate
BaseKeyValueStorageEngineFactory to be an abstract class instead of trait
[ https://issues.apache.org/jira/browse/SAMZA-2516?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Cameron Lee resolved SAMZA-2516.
--------------------------------
Resolution: Fixed
> Migrate BaseKeyValueStorageEngineFactory to be an abstract class instead of trait
> ---------------------------------------------------------------------------------
>
> Key: SAMZA-2516
> URL: https://issues.apache.org/jira/browse/SAMZA-2516
> Project: Samza
> Issue Type: Improvement
> Reporter: Cameron Lee
> Assignee: Cameron Lee
> Priority: Major
> Time Spent: 1h
> Remaining Estimate: 0h
>
> If using Scala 2.11, there is a compile error when trying to use a Java class extend a Scala trait with implemented methods. BaseKeyValueStorageEngineFactory can be considered part of the Samza API, but it is a Scala trait with an implemented method, so that makes extension a bit restrictive.
> I think the Java extension works in Scala 2.12, but we are still supporting both 2.11 and 2.12.
> Also, it would be good to migrate away from Scala code in general, for consistency with other new Samza code.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)