Protocol Buffers with Java & Gradle

Поделиться
HTML-код
  • Опубликовано: 5 ноя 2024

Комментарии • 22

  • @furtivesock
    @furtivesock 2 года назад +2

    I was struggling using Protobuf in Java, thank you so much!

  • @BikashMainali
    @BikashMainali 10 месяцев назад

    Don't we need to add protoc compiler in gradle file? How did it compile proto file and convert it into java? In my case, it compiled but there is a compile time error in generated java class.

  • @MrQwadr
    @MrQwadr 3 года назад +1

    Thank you very much for this video!

  • @rahilkumar3558
    @rahilkumar3558 Год назад +1

    I am not able to build the gradle project after adding plugin n dependency. Any idea on this?
    * Exception is:
    org.gradle.api.ProjectConfigurationException: A problem occurred configuring root project 'TestGRPC'.
    at org.gradle.configuration.project.LifecycleProjectEvaluator.wrapException(LifecycleProjectEvaluator.java:75)
    aused by: org.gradle.api.artifacts.UnknownConfigurationException: Configuration with name 'compile' not found.
    at org.gradle.api.internal.artifacts.configurations.DefaultConfigurationContainer.createNotFoundException(DefaultConfigurationContainer.java:161)

  • @kintalivenkat4611
    @kintalivenkat4611 2 года назад

    Thankyou for your video . its useful . Actually how to write spring rest services and it will receive protobuf as input . do we have any spring and proto buf example video . if yes please post it . Thankyou

  • @santiagosuarez465
    @santiagosuarez465 3 года назад +1

    Very helpful thank you very much

    • @MaxMautner
      @MaxMautner  3 года назад

      You’re very welcome-glad that it helped you 🙏

  • @bernardgonzales6518
    @bernardgonzales6518 2 года назад

    Thank you sir! Really appreciate the tutorial

  • @bassamry
    @bassamry 3 года назад +1

    thanks for the clear tutorial! Are there any special steps for Android for using protobufs?

    • @MaxMautner
      @MaxMautner  3 года назад

      Nope, nothing different I can think of

  • @andreyshelestov5353
    @andreyshelestov5353 3 года назад

    Helped me a lot. Thanks!

  • @workingthread4211
    @workingthread4211 2 года назад

    Why did you download protoc and compile the proto file in console when, at the end, you use a gradle plugin to do the same again? Couldn't you just have copy-pasted the generated file instead of using the gradle plugin to generate it?

    • @MaxMautner
      @MaxMautner  2 года назад

      Showing that there is more than one way to do things matey

  • @taniaagnesgf215
    @taniaagnesgf215 2 года назад

    What should I do if it shows "mkdir: /Users/goeimacbook/scratch: No such file or directory" error message when I run mkdir ~/scratch/protobuftest ?

    • @MaxMautner
      @MaxMautner  2 года назад

      Try “mkdir -P ~/scratch/protobuftest” instead

  • @navkkrnair
    @navkkrnair 4 года назад

    Appreciate if you can show how the generated class can implement a custom interface. It seems next to impossible from the documentations where they talk about Plugin Insertion Points but no proper examples are available!!

    • @MaxMautner
      @MaxMautner  4 года назад

      Can you elaborate on why you need to do that?

    • @navkkrnair
      @navkkrnair 4 года назад

      @@MaxMautner Was going through Akka Persistence (Typed) where there was a need for Command and Event Interfaces (as Markers) and the implementations would need to be serialized.

  • @MoMadNU
    @MoMadNU 3 года назад

    Well done thank you

  • @vydo4210
    @vydo4210 Год назад

    need increase sound volume and source code.

  • @ChristopherGray00
    @ChristopherGray00 4 года назад +2

    that is an absolutely absurd amount of tabs open

    • @MaxMautner
      @MaxMautner  4 года назад +2

      That’s just how we roll 🤘😎