KhaninArtur commented on a change in pull request #16493:
URL: https://github.com/apache/beam/pull/16493#discussion_r790873989
##########
File path: playground/backend/internal/cache/cache.go
##########
@@ -75,4 +79,10 @@ type Cache interface {
// SetExpTime adds expiration time of the pipeline to cache by
pipelineId.
SetExpTime(ctx context.Context, pipelineId uuid.UUID, expTime
time.Duration) error
+
+ // SetCatalog adds the given catalog to cache by ExamplesCatalog key.
+ SetCatalog(ctx context.Context, catalog []*pb.Categories) error
+
+ // GetCatalog return catalog from cache by ExamplesCatalog key.
+ GetCatalog(ctx context.Context) ([]*pb.Categories, error)
Review comment:
Yes, we save it without the workaround with nil pipelined as It was
before.
--
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]