Giter VIP home page Giter VIP logo

besu-plugins's People

Contributors

abdelstark avatar macfarla avatar matkt avatar shemnon avatar siladu avatar timbeiko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

besu-plugins's Issues

Invalid value for option '--plugin-kafka-log-filter-addresses' if we try to put several contract addresses

Description

In the doc https://docs.plus.pegasys.tech/en/stable/Reference/CLI-Syntax/#plugin-kafka-log-filter-addresses it seems that we can put several contract addresses on this field --plugin-kafka-log-filter-addresses . If we try to put more than one we get an error message

Steps to Reproduce (Bug)

  1. Start Besu with the Kafka plugin and this CLI option

--plugin-kafka-log-filter-addresses=0x42699A7612A82f1d9C36148af9C77354759b210b,0x42699A7612A82f1d9C36148af9C77354759b210c

Expected behavior: [What you expect to happen]
To be able to put several contract addresses without having errors

--plugin-kafka-log-filter-addresses= 0x42699A7612A82f1d9C36148af9C77354759b210b,0x55699A7612A82f1d9C36148af9C77354759b210c

Actual behavior: [What actually happens]
Crash with this error

Invalid value for option '--plugin-kafka-log-filter-addresses' (): cannot convert '0x42699A7612A82f1d9C36148af9C77354759b210b,0x42699A7612A82f1d9C36148af9C77354759b210c' to Address (java.lang.IllegalArgumentException: Hex value is too large: expected at most 20 bytes but got 42)

Frequency: 100%

Versions (Add all that apply)

  • Software version
    • Besu : 20.10.1-SNAPSHOT
    • Kafka Plugin : 1.0.0-SNAPSHOT
  • Java version: [java -version]

openjdk version "13.0.2" 2020-01-14
OpenJDK Runtime Environment AdoptOpenJDK (build 13.0.2+8)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 13.0.2+8, mixed mode, sharing)

[Feature request] as a Besu node admin I would like to be able to disable specific topics

Description

As a Besu node admin I would like to be able to disable specific topics in the event stream feature so that topics that I don't need are not published to the broker. For instance, disable the Blocks topic.

Acceptance Criteria

  • Be able to disable a specific topic using the usual configuration system
  • Default should be the current behaviour with all topics enabled
  • Displaying disabled/enabled topics in a log when starting would be a plus

Expected behavior: [What you expect to happen]

Only non disabled topics events will be published

Actual behavior: [What actually happens]

All topics are published

Additional Information

This feature request is inspired by a customer question

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.