Github user dlaboss commented on a diff in the pull request:
https://github.com/apache/incubator-quarks/pull/60#discussion_r58528032
--- Diff: api/window/src/main/java/quarks/window/Window.java ---
@@ -157,4 +158,10 @@ Licensed to the Apache Software Foundation (ASF) under
one
*/
Function<T, K> getKeyFunction();
+ /**
+ * Retrieves the partitions in the window.
+ * @return A map of the window's keys and partitions.
--- End diff --
Maybe you've also made adjustments but on lines 188 & 216 below in
ConnectorStream, it's not synchronizing the partitions map when getting the
partition of interest. Q: would using/returning a synchronized map be better?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---