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

GlobalTable doesnt respect schema #632

Open
2 tasks done
kokorins opened this issue Jul 12, 2024 · 0 comments
Open
2 tasks done

GlobalTable doesnt respect schema #632

kokorins opened this issue Jul 12, 2024 · 0 comments

Comments

@kokorins
Copy link

Checklist

  • I have included information about relevant versions.
  • I have verified that the issue persists when using the master branch of Faust.

Steps to reproduce

Tell us what you did to cause something to happen.

table = app.GlobalTable(
      "name"
        schema=faust.Schema(
            value_serializer=PydanticJsonSerializer(PydanticModelDerivative),
        ),
)

## Expected behavior

I've set up a custom codec for value_serializer on schema of a GlobalTable. This works well if GlobalTable is replaced with just Table.

## Actual behavior

Default codec is in use.

<Schema: KT=default (json) VT=default (json)>


# Versions

* Python version: 3.11
* Faust version: 0.11.0
* Operating system: ubuntu 22.04
* Kafka version: -
* RocksDB version (if applicable): -

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

No branches or pull requests

1 participant