Skip to content

Question: DATADIR usage and configuration #654

Open

Description

@Aaronzinhoo

Checklist

  • [ x ] I have included information about relevant versions
  • I have verified that the issue persists when using the master branch of Faust. (N/A)

Expected behavior

Use of DATADIR should contain metadata related to a Table is being used. The datadir in created here

Actual behavior

DATADIR is created but the tables folder is always empty. I am just curious if this is the expected behavior for the data dir folder and if/when would it be populated with any data? Is this some older feature that is no longer needed? if its not needed, is there a way to configure it such that we dont create the datadir folder if not needed?

Versions

  • Python version 3.11.5
  • Faust version 0.11.2
  • Operating system Ubuntu 20.04
  • Kafka version 3.7.0
  • RocksDB version N/A

Activity

  1. dada-engineer commented on Apr 15, 2025

    @dada-engineer
    Collaborator

    Do you have an example code? IMO the tables folder is populated if you define a Table app.Table("name", key_serializer="str") and also write to this table table["John"] = 100

    I do use this in one service and the rocksDB is put into this directory.

  2. Aaronzinhoo commented on Sep 25, 2025

    @Aaronzinhoo
    Author

    @dada-engineer some of the services I use dont utilize the a table. Some services are simple and just perform a transformation on data from topic and send the transformed into another topic. Regardless the DATADIR is made though which is strange to me since if we are not using the Table functionality.

  3. added
    question
    on Sep 25, 2025
  4. dada-engineer commented on Sep 25, 2025

    @dada-engineer
    Collaborator

    It's initialized regardless. This is expected. Do you have a hard blocker due to this?

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    question

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions