Giter VIP home page Giter VIP logo

df-meilisearch-loader's Introduction

Meilisearch Loader

Application to load data from a Kafka topic and push the data to Meilisearch

ENVIRONMENT VARIABLES

The following table lists the environment variables that can be set, along with their default values.

Name Description Default
KAFKA_BROKER_HOST The broker address used to connect to the kafka cluster localhost:9092
KAFKA_TOPIC The topic to consume the data from test-topic
SCHEMA_REGISTRY_URL The URL of the schema registry localhost:8081
KAFKA_SASL_MECHANISM SASL mechanisms. Valid options are SCRAM-SHA-256, SCRAM-SHA-512. Blank
KAFKA_CLIENT_USERNAME Username used for auth Blank
KAFKA_CLIENT_SECRET Secret used for auth Blank
MEILISEARCH_URL The address of the server Meilisearch is listening on localhost:7700
MEILISEARCH_INDEX The uid where documents will be grouped test-index
MEILISEARCH_INSERT_BATCH_SIZE The number of documents to batch before adding to the index 50
MEILISEARCH_API_KEY Protects against unauthorized requests aSampleMasterKey
MEILISEARCH_INDEX_PRIMARY_KEY Uniquely identifies each document in an index id

df-meilisearch-loader's People

Contributors

actions-user avatar barakstout avatar connor1124 avatar jgriff avatar jpalmer1026 avatar mirzakaracic avatar

Watchers

 avatar  avatar  avatar  avatar

df-meilisearch-loader's Issues

Use Kafka consumer group

Background

Currently, the loader starts a direct consumer, consuming from the earliest offset every time it comes up.

This results in:

  • duplicate reads from the topic when restarted (rereading from the beginning of the topic).
  • prevents horizontal scaling, since each instance would also result in duplicate reading

Objective

Support a configurable Kafka consumer group to consume from (default to df-meilisearch-loader or something).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.