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

Aerospike sink doesnt work when aerospike source is used #2479

Open
karolisg opened this issue Apr 7, 2024 · 0 comments
Open

Aerospike sink doesnt work when aerospike source is used #2479

karolisg opened this issue Apr 7, 2024 · 0 comments
Assignees

Comments

@karolisg
Copy link
Contributor

karolisg commented Apr 7, 2024

Describe the bug

Aerospike sink is storing only one record when aerospike source is used

To Reproduce

Steps to reproduce the behavior:

dozer-config.yaml

app_name: dozer-aero
version: 1
connections:
  - name: aerospike_src
    config: !Aerospike
      namespace: test
      sets:
        - DOZER_USERS_LEG_A
      hosts: localhost:3000

  - name: aerospike_dest
    config: !Aerospike
      namespace: test
      sets:
        - DOZER_USERS_LEG_A_DEST_A
      hosts: localhost:3003
sources:
  - name: DOZER_USERS_LEG_A
    table_name: DOZER_USERS_LEG_A
    connection: aerospike_src
    columns:
      - PK
      - a
      - b
      - c

sinks:
  - name: DOZER_USERS_LEG_A_DEST_A
    config: !Aerospike
      connection: aerospike_dest
      metadata_namespace: test
      tables:
       - !AerospikeSinkTable
         set_name: DOZER_USERS_LEG_A_DEST_A
         namespace: test
         source_table_name: DOZER_USERS_LEG_A

Inserting rows with aql

INSERT INTO test.DOZER_USERS_LEG_A (PK, a, b, c) VALUES (1, "1", "1", "1");
INSERT INTO test.DOZER_USERS_LEG_A (PK, a, b, c) VALUES (2, "2", "2", "2");

...
N. Share you error

Number of inserted rows to sink remains 1 even when some rows are inserted to source

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants