Calling Developers!
We are reenergizing our code contribution process! Learn More

Synchronizing data to Redis without intermediate database table

Options
mikko.ropanen
mikko.ropanen Spryker Solution Partner Posts: 17 🧑🏻‍🚀 - Cadet

https://docs.spryker.com/docs/scos/dev/back-end-development/data-manipulation/data-publishing/handle-data-with-publish-and-synchronization.html#storage-table mentions:
"To synchronize data with Redis, an intermediate Zed database table is required."

But… is it? I'm sure there is a way to directly queue stuff in a sync.storage.* queue, but haven't quite figured it out yet.

The use case I have is that I need to store just a mapping between a product attribute value and another thing in Redis, and it doesn't make sense to me to create a *_storage table just for this.

Originally I just used the default product_concrete storage but inactive products are not stored in Redis, and I need those.

Answers