[
https://issues.apache.org/jira/browse/BEAM-13005?focusedWorklogId=669695&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-669695
]
ASF GitHub Bot logged work on BEAM-13005:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 25/Oct/21 18:21
Start Date: 25/Oct/21 18:21
Worklog Time Spent: 10m
Work Description: pabloem commented on pull request #15714:
URL: https://github.com/apache/beam/pull/15714#issuecomment-951185192
I will merge, but - the documentation should be part of the interface,
right? Not part of the LocalCache class implementation
e.g. the following comments should be in cache.go, not local_cache.go, right?
TODO(@ilya-kozyrev / @pavel-avilov ) - can you add the documentation on the
interface in a follow up change? Thanks!
```
// SetValue puts element to cache.
// If a particular pipelineId does not contain in the cache, SetValue
creates a new element for this pipelineId without expiration time.
// Use SetExpTime to set expiration time for cache elements.
// If data for a particular pipelineId is already contained in the cache,
SetValue sets or updates the value for the specific subKey.
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 669695)
Time Spent: 2h 10m (was: 2h)
> Implement local cache for pipelines' states
> -------------------------------------------
>
> Key: BEAM-13005
> URL: https://issues.apache.org/jira/browse/BEAM-13005
> Project: Beam
> Issue Type: Sub-task
> Components: beam-playground
> Reporter: Daria Malkova
> Assignee: Pavel Avilov
> Priority: P3
> Labels: beam-playground-sprint-2
> Time Spent: 2h 10m
> Remaining Estimate: 0h
>
> The backend should be able to use *Local Cache* to:
> * save cache value by *pipelineId* and one more *sub-key* as a nested
> structure
> * get cache by *pipelineId* and one more *sub-key*
> * set time expiration for *pipelineId* key
> *Loca Cache* should be an implementation of the *Cache* interface so the
> backend could use it instead of Redis implementation for local tests.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)