GithubHelp home page GithubHelp logo

innovative-project-jackdaw's People

Contributors

ankanna avatar buczaq avatar ekaczmar avatar hvvka avatar kacperbieganek avatar mnajda avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

innovative-project-jackdaw's Issues

Types as enumerations

All is*Valid methods define string arrays for a corresponding type. These should be represented as enumerations, whatmore, they exist but are not used, example.

Please refactor code to use enumeration types.

Extract flight creator from the producer

The producent class should have a single responsibility which is sending messages, not conversion from raw input to POJO record.

Please extract createFlight method to a separate class and use it within the producer. Move corresponding unit tests.

Use "null" literal instead of exceptions

It's way too harsh to throw an exception on simple value mappings (please refer to refs below). I think literal "null" should do fine for default case in the switch statement since null is a valid JSON value.

code duplication

Please refactor duplications in Runners, see:

Properties topicProperties = new Properties();
topicProperties.load(new FileInputStream("/volume/topic.properties"));

Properties schemaProps = new Properties();
schemaProps.load(new FileInputStream("/volume/flightdata-kafka-producer.properties"));

InputStream input = new FileInputStream("/volume/flightdata-kafka-producer.properties");
Properties props = new Properties();
props.load(input);

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.