Giter Club home page Giter Club logo

Comments (3)

ImFlog avatar ImFlog commented on May 27, 2024

from schema-registry-plugin.

brunobrossi avatar brunobrossi commented on May 27, 2024

Hi @ImFlog

buildscript {
    ext { springBootVersion = '2.0.3.RELEASE' }
    repositories { mavenCentral() }
    dependencies { classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}") }
}

plugins {
    id "io.spring.dependency-management" version "1.0.5.RELEASE"
    id 'org.springframework.boot' version '2.0.3.RELEASE'
    id 'java'
    id "com.github.imflog.kafka-schema-registry-gradle-plugin" version "0.2.0"
    id "com.commercehub.gradle.plugin.avro" version "0.9.0"
}
dependencies {
    compile project(':core')
    compile 'org.springframework.kafka:spring-kafka:2.1.7.RELEASE'
    compile 'org.apache.avro:avro:1.8.2'
    compile('io.confluent:kafka-avro-serializer:3.2.1') {
        exclude group: 'org.slf4j', module: 'slf4j-log4j12'
    }
    testCompile('org.springframework.boot:spring-boot-starter-test')

}

bootJar {
    baseName = 'schema-avro-test'
    version = '0.0.1-SNAPSHOT'
}

sourceCompatibility = 1.8

repositories {
    mavenCentral()
    maven { url "https://packages.confluent.io/maven/" }
}

schemaRegistry {
    url = 'http://localhost:8081/'
    download {
        output = 'src/main/avro/external'
        subjects = ['schema-custom-value']
    }
}

avro {
    createSetters = false
    fieldVisibility = "PRIVATE"
    outputCharacterEncoding = "UTF-8"
}

If I create a schema-registry localhost, it works, but still does not put in the folder I want. If I change the URL to somethung different than localhost, it does not work.

from schema-registry-plugin.

ImFlog avatar ImFlog commented on May 27, 2024

I just pushed the fix.
This should be good in 0.3.0.

from schema-registry-plugin.

Related Issues (20)

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.