Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redis ListPop task output uri does not contain data #48

Open
shrutimantri opened this issue Mar 23, 2024 · 1 comment
Open

Redis ListPop task output uri does not contain data #48

shrutimantri opened this issue Mar 23, 2024 · 1 comment
Assignees
Labels
area/plugin Plugin-related issue or feature request bug Something isn't working

Comments

@shrutimantri
Copy link
Contributor

Expected Behavior

On running Redis ListPop task, the data should be popped, and the output uri should contain the popped data.

Actual Behaviour

On running Redis ListPop task, the data gets popped. In the Outputs tab, the count of data popped is correctly reflected. The Outputs also contain uri but the file is empty. I verified that the file is empty based on size and its preview content.
Screenshot 2024-03-23 at 6 30 44 PM

Screenshot 2024-03-23 at 6 30 55 PM

Steps To Reproduce

  1. Execute the ListPush example flow that pushes data into the list.
  2. Execute the ListPop example flow to pop the data.
  3. Check the output of the flow containing ListPop task.

Environment Information

  • Kestra Version: 0.15.5
  • Plugin version: 0.15.5
  • Operating System (OS / Docker / Kubernetes): Docker
  • Java Version (If not docker):

Example flow

ListPush flow:

id: redis-list-push
namespace: dev
tasks:
  - id: "list_push"
    type: "io.kestra.plugin.redis.ListPush"
    url: redis://:redis@<ip-address>:6379/0
    key: mykey
    from:
       - value1
       - value2

ListPop flow

id: redis-list-pop
namespace: dev
tasks:
  - id: "list_pop"
    type: "io.kestra.plugin.redis.ListPop"
    url: redis://:redis@<ip-address>:6379/0
    key: mykey
    serdeType: STRING
    maxRecords: 2
@shrutimantri shrutimantri added the bug Something isn't working label Mar 23, 2024
@anna-geller anna-geller added this to the v0.20.0 milestone Apr 17, 2024
@github-project-automation github-project-automation bot moved this to Backlog in Issues Jun 10, 2024
@Ben8t Ben8t removed this from the v0.20.0 milestone Dec 12, 2024
@mgabelle
Copy link
Contributor

mgabelle commented Feb 4, 2025

Tried to reproduce on latest Kestra version 0.22-SNAPSHOT and it works correctly :

id: push_pop_redis
namespace: mgabelle.tests.redis

tasks:
  - id: "list_push"
    type: "io.kestra.plugin.redis.ListPush"
    url: redis://:redis@redis:6379/0
    key: mykey
    from:
       - value1
       - value2
  
  - id: "list_pop"
    type: "io.kestra.plugin.redis.ListPop"
    url: redis://:redis@redis:6379/0
    key: mykey
    serdeType: STRING
    maxRecords: 2

Image

@mgabelle mgabelle moved this from Backlog to In progress in Issues Feb 5, 2025
@mgabelle mgabelle added the area/plugin Plugin-related issue or feature request label Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/plugin Plugin-related issue or feature request bug Something isn't working
Projects
Status: In progress
Development

No branches or pull requests

4 participants