https://kotlinlang.org logo
Docs
Join the conversationJoin Slack
Channels
100daysofcode
100daysofkotlin
100daysofkotlin-2021
advent-of-code
aem
ai
alexa
algeria
algolialibraries
amsterdam
android
android-architecture
android-databinding
android-studio
androidgithubprojects
androidthings
androidx
androidx-xprocessing
anime
anko
announcements
apollo-kotlin
appintro
arabic
argentina
arkenv
arksemdevteam
armenia
arrow
arrow-contributors
arrow-meta
ass
atlanta
atm17
atrium
austin
australia
austria
awesome-kotlin
ballast
bangladesh
barcelona
bayarea
bazel
beepiz-libraries
belgium
berlin
big-data
books
boston
brazil
brikk
budapest
build
build-tools
bulgaria
bydgoszcz
cambodia
canada
carrat
carrat-dev
carrat-feed
chicago
chile
china
chucker
cincinnati-user-group
cli
clikt
cloudfoundry
cn
cobalt
code-coverage
codeforces
codemash-precompiler
codereview
codingame
codingconventions
coimbatore
collaborations
colombia
colorado
communities
competitive-programming
competitivecoding
compiler
compose
compose-android
compose-desktop
compose-hiring
compose-ios
compose-mp
compose-ui-showcase
compose-wear
compose-web
connect-audit-events
corda
cork
coroutines
couchbase
coursera
croatia
cryptography
cscenter-course-2016
cucumber-bdd
cyprus
czech
dagger
data2viz
databinding
datascience
dckotlin
debugging
decompose
decouple
denmark
deprecated
detekt
detekt-hint
dev-core
dfw
docs-revamped
dokka
domain-driven-design
doodle
dsl
dublin
dutch
eap
eclipse
ecuador
edinburgh
education
effective-kotlin
effectivekotlin
emacs
embedded-kotlin
estatik
event21-community-content
events
exposed
failgood
fb-internal-demo
feed
firebase
flow
fluid-libraries
forkhandles
forum
fosdem
fp-in-kotlin
framework-elide
freenode
french
fritz2
fuchsia
functional
funktionale
gamedev
ge-kotlin
general-advice
georgia
geospatial
german-lang
getting-started
github-workflows-kt
glance
godot-kotlin
google-io
gradle
graphic
graphkool
graphql
graphql-kotlin
graviton-browser
greece
grpc
gsoc
gui
hackathons
hacktoberfest
hamburg
hamkrest
helios
helsinki
hexagon
hibernate
hikari-cp
hire-me
hiring
hongkong
hoplite
http4k
hungary
hyderabad
image-processing
india
indonesia
inkremental
intellij
intellij-plugins
intellij-tricks
internships
introduce-yourself
io
ios
iran
israel
istanbulcoders
italian
jackson-kotlin
jadx
japanese
jasync-sql
java-to-kotlin-refactoring
javadevelopers
javafx
javalin
javascript
jdbi
jhipster-kotlin
jobsworldwide
jpa
jshdq
juul-libraries
jvm-ir-backend-feedback
jxadapter
k2-early-adopters
kaal
kafka
kakao
kalasim
kapt
karachi
karg
karlsruhe
kash_shell
kaskade
kbuild
kdbc
kgen-doc-tools
kgraphql
kinta
klaxon
klock
kloudformation
kmdc
kmm-español
kmongo
knbt
knote
koalaql
koans
kobalt
kobweb
kodein
kodex
kohesive
koin
koin-dev
komapper
kondor-json
kong
kontent
kontributors
korau
korean
korge
korim
korio
korlibs
korte
kotest
kotest-contributors
kotless
kotlick
kotlin-asia
kotlin-beam
kotlin-by-example
kotlin-csv
kotlin-data-storage
kotlin-foundation
kotlin-fuel
kotlin-in-action
kotlin-inject
kotlin-latam
kotlin-logging
kotlin-multiplatform-contest
kotlin-mumbai
kotlin-native
kotlin-pakistan
kotlin-plugin
kotlin-pune
kotlin-roadmap
kotlin-samples
kotlin-sap
kotlin-serbia
kotlin-spark
kotlin-szeged
kotlin-website
kotlinacademy
kotlinbot
kotlinconf
kotlindl
kotlinforbeginners
kotlingforbeginners
kotlinlondon
kotlinmad
kotlinprogrammers
kotlinsu
kotlintest
kotlintest-devs
kotlintlv
kotlinultimatechallenge
kotlinx-datetime
kotlinx-files
kotlinx-html
kotrix
kotson
kovenant
kprompt
kraph
krawler
kroto-plus
ksp
ktcc
ktfmt
ktlint
ktor
ktp
kubed
kug-leads
kug-torino
kvision
kweb
lambdaworld_cadiz
lanark
language-evolution
language-proposals
latvia
leakcanary
leedskotlinusergroup
lets-have-fun
libgdx
libkgd
library-development
linkeddata
lithuania
london
losangeles
lottie
love
lychee
macedonia
machinelearningbawas
madrid
malaysia
mathematics
meetkotlin
memes
meta
metro-detroit
mexico
miami
micronaut
minnesota
minutest
mirror
mockk
moko
moldova
monsterpuzzle
montreal
moonbean
morocco
motionlayout
mpapt
mu
multiplatform
mumbai
munich
mvikotlin
mvrx
myndocs-oauth2-server
naming
navigation-architecture-component
nepal
new-mexico
new-zealand
newname
nigeria
nodejs
norway
npm-publish
nyc
oceania
ohio-kotlin-users
oldenburg
oolong
opensource
orbit-mvi
osgi
otpisani
package-search
pakistan
panamá
pattern-matching
pbandk
pdx
peru
philippines
phoenix
pinoy
pocketgitclient
polish
popkorn
portugal
practical-functional-programming
proguard
prozis-android-backup
pyhsikal
python
python-contributors
quasar
random
re
react
reaktive
realm
realworldkotlin
reductor
reduks
redux
redux-kotlin
refactoring-to-kotlin
reflect
refreshversions
reports
result
rethink
revolver
rhein-main
rocksdb
romania
room
rpi-pico
rsocket
russian
russian_feed
russian-kotlinasfirst
rx
rxjava
san-diego
science
scotland
scrcast
scrimage
script
scripting
seattle
serialization
server
sg-user-group
singapore
skia-wasm-interop-temp
skrape-it
slovak
snake
sofl-user-group
southafrica
spacemacs
spain
spanish
speaking
spek
spin
splitties
spotify-mobius
spring
spring-security
squarelibraries
stackoverflow
stacks
stayhungrystayfoolish
stdlib
stlouis
strife-discord-lib
strikt
students
stuttgart
sudan
swagger-gradle-codegen
swarm
sweden
swing
swiss-user-group
switzerland
talking-kotlin
tallinn
tampa
teamcity
tegal
tempe
tensorflow
terminal
test
testing
testtestest
texas
tgbotapi
thailand
tornadofx
touchlab-tools
training
tricity-kotlin-user-group
trójmiasto
truth
tunisia
turkey
turkiye
twitter-feed
uae
udacityindia
uk
ukrainian
uniflow
unkonf
uruguay
utah
uuid
vancouver
vankotlin
vertx
videos
vienna
vietnam
vim
vkug
vuejs
web-mpp
webassembly
webrtc
wimix_sentry
wwdc
zircon
Powered by Linen
server
  • a

    Ananiya

    11/14/2020, 4:38 PM
    hello there, please i need help. I have http request model(*.http file from idea ultimate) like this
    POST url
    Authorization: key
    Content-Type: application/json
    {"text": ["Hello, world.", "How are you?"], "model_id":"en-es"}
    which work smoothly but after i implement it in okhttp like this below
    val json = """{"text": ["Hello, world.", "How are you?"], "model_id":"en-es"}""".trimMargin()
            val request = RequestBody.create(JSON,json);
            val response = Request.Builder()
                    .url(url)
                    .post(request)
                    .addHeader("Authorization","key")
                    .addHeader("Content-Type","application/json")
                    .build()
            val answer = client.newCall(response).execute().body()!!.string()
            println(answer)
    it start throwing error from the api, i felt i have done something wrong in okhttp authorization post, please help 😩
    d
    • 2
    • 26
  • p

    Pavel Petkevich

    11/17/2020, 1:12 PM
    Hey guys, I have one question which option you will suggest me to use for SSL: 1. With Ktor serving SSL directly (https://ktor.io/docs/ssl.html#ktor) 2. With Docker and Nginx as reverse proxy(https://ktor.io/docs/ssl.html#docker) Currently I am a bit confused what directly should I use.... thanks for any advices in advance 😄 P.S: Probably I will use the first option, but maybe someone here already met with that and already did the decision which can help me to chose the proper way😄
    d
    a
    • 3
    • 3
  • s

    stask

    11/18/2020, 8:41 PM
    Good day. I wrote server with ktor. Trying to send DELETE request with body to the server and get 415 error. On Python server with Fast API the same request works. Could you advise me, what could be a problem, and how to fix it? The server snippet
    @Serializable
    data class GroupData(
            @Contextual val  sessionId: String,
            @Contextual val  groupId: String
    )
    delete("/api/v1/group") {
        val data = call.receive<GroupData>()
    ...
    }
    The client snippet `return axios.delete(
    ${serverAddress}/api/v1/group
    , { data: { sessionId: context.state.sessionId, groupId } }, )`
    a
    k
    • 3
    • 17
  • v

    Vampire

    11/19/2020, 9:50 AM
    Is it really appropriate to spam this every few days?
    ☝️ 1
    ➕ 16
    c
    y
    +2
    • 5
    • 13
  • a

    Ananiya

    11/20/2020, 8:24 AM
    hello there, i just make an app using this library which is based in ktor but i am not able to find the default port even searching around for
    embeddedServer(Netty, port = "ITS PORT")
    or is there any system command to find which port the app is running in ? i also packed it as jar file if it could be easy to get the port
    a
    m
    • 3
    • 12
  • s

    stask

    11/21/2020, 6:57 AM
    Good day, I try to build .jar file for my server code to launch it on the virtual machine. Jar, built as artifact is launched with error
    java -jar server.jar 
    Exception in thread "main" java.lang.NoClassDefFoundError: kotlin/jvm/internal/Intrinsics
    ...
    I googled, that the problem is in kotlin library, which should be packed into the jar in a specific way. Documentation here https://www.jetbrains.com/help/idea/create-your-first-kotlin-app.html?section=Gradle%20Groovy tells me, that I should add special code in build.gradle. There is my code on the picture. As you can see, "from" is grey... And I get next error for Gradle
    * Exception is:
    org.gradle.api.GradleScriptException: A problem occurred evaluating root project 'server'.
    <131 internal calls>
    Caused by: org.gradle.internal.metaobject.AbstractDynamicObject$CustomMessageMissingMethodException: Could not find method jar() for arguments [build_c5anurhkrrlxlaf3i7moe4k0u$_run_closure5@7f80db22] on task set of type org.gradle.api.internal.tasks.DefaultTaskContainer.
    	at org.gradle.internal.metaobject.AbstractDynamicObject.methodMissingException(AbstractDynamicObject.java:182)
    	at org.gradle.internal.metaobject.AbstractDynamicObject.invokeMethod(AbstractDynamicObject.java:166)
    	at org.gradle.api.internal.tasks.DefaultTaskContainer_Decorated.invokeMethod(Unknown Source)
    	at build_c5anurhkrrlxlaf3i7moe4k0u.run(/Users/stask/projects/motionLearning/chat/kotlinServer/server/build.gradle:100)
    	at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:91)
    	... 130 more
    Could you help me, how to fix the build?
    v
    • 2
    • 12
  • m

    Mehrdad Senobari

    11/23/2020, 8:35 PM
    Hello everyone, as you may guess, I'm very new to Kotlin server side. Do you know any article about best practices or helpful libraries for reading external configs (like the config.maps on kubernetes)?
    n
    t
    • 3
    • 12
  • l

    lutz

    11/24/2020, 2:42 AM
    Coworker just asked this:
    I'm looking for learning resources as an experienced PHP developer trying to understand the subtleties of working with the JVM.  For example, PHP has essentially no concept of multithreading and asynchronous programming, while it seems pretty important to JVM development.  Does anyone have suggestions?
    They are just starting to use kotlin on the backend and ran into some performance issues w/their impl of coroutines. Any recommendations?
    a
    a
    +5
    • 8
    • 15
  • m

    marzelwidmer

    11/27/2020, 5:08 AM
    Hello I try to to use in a
    Kotlin
    SpringBoot
    Project a
    RestTemplate
    as
    Bean DSL
    have some body any hint. What I’m missing…
    n
    n
    +2
    • 5
    • 13
  • r

    rajesh

    11/30/2020, 4:04 PM
    Hi, I want to discuss the idea about using kotlin coroutines and flow with spring boot to build (photo sharing) sociall platform. Will reactive spring boot make API to handle load more effectively than traditional rest api? Any other benifits? Please share your thoughts
    c
    a
    • 3
    • 9
  • j

    João Rodrigues

    12/02/2020, 1:29 PM
    Hi! What do you usually use for unit tests and mocking in spring boot projects? I've been trying to set up springmockk with spring boot 2.3.5 and kotlin 1.4.2 but haven't been able to set it up properly
    m
    t
    • 3
    • 8
  • l

    Laurence

    12/03/2020, 7:51 AM
    Hi everyone 🙂 Recently I started playing around with Google Cloud Functions/MongoDB Atlas with the JVM runtime in Kotlin. I've found that when I test locally, during cold start the connection time to Atlas is comparable with the Node runtime, but when connecting from GC, during cold start it can take up to 10 seconds to make a connection! Below I've added my Gradle config and connection code. I'm really hoping someone can spot what is wrong to help me speed up the connection time. Gradle:
    buildscript {
        ext.kotlin_version = '1.4.20'
    
        repositories {
            jcenter()
        }
        dependencies {
            classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
            classpath "com.github.jengelman.gradle.plugins:shadow:5.0.0"
        }
    }
    
    plugins {
        id 'org.jetbrains.kotlin.jvm' version '1.4.10'
    }
    
    apply plugin: 'com.github.johnrengelman.shadow'
    tasks.build.dependsOn tasks.shadowJar
    
    shadowJar {
        mergeServiceFiles()
    }
    
    group 'org.example'
    version '1.0-SNAPSHOT'
    
    repositories {
        jcenter()
        mavenCentral()
    }
    
    compileKotlin {
        sourceCompatibility = JavaVersion.VERSION_1_8
        targetCompatibility = JavaVersion.VERSION_1_8
    
        kotlinOptions {
            jvmTarget = "1.8"
        }
    }
    
    configurations {
        invoker
    }
    
    dependencies {
        implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
        implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
    
        // Every function needs this dependency to get the Functions Framework API.
        compileOnly 'com.google.cloud.functions:functions-framework-api:1.0.1'
    
        // MongoDB & KMongo
        implementation "org.mongodb:mongodb-driver-sync:4.1.1"
        implementation 'org.mongodb:mongodb-driver-core:4.1.1'
        implementation 'org.mongodb:bson:4.1.1'
        implementation 'org.mongodb:mongo-java-driver:3.12.7'
        implementation 'org.litote.kmongo:kmongo-coroutine:4.2.0'
    
        implementation "org.slf4j:slf4j-simple:1.7.30"
    }
    
    sourceSets {
        main.java.srcDirs += 'src/main/kotlin'
        test.java.srcDirs += 'src/test/kotlin'
    }
    Connection code:
    import com.mongodb.MongoClientURI
    import functions.Conf.Conf.MONGO_CLIENT_URI
    import org.litote.kmongo.coroutine.coroutine
    import org.litote.kmongo.reactivestreams.KMongo
    
    object Database {
    
        init {
            System.setProperty(
                "org.litote.mongo.test.mapping.service",
                "org.litote.kmongo.jackson.JacksonClassMappingTypeService"
            )
        }
    
        // get URI for MongoDB client (eg. Mongo Atlas)
        private val uri = MongoClientURI(MONGO_CLIENT_URI)
    
        // get client
        private val mongoClient = KMongo.createClient(uri.uri)
    
        // get database
        val database = mongoClient.getDatabase(uri.database).coroutine
    }
    k
    • 2
    • 6
  • s

    seldomcoder

    12/06/2020, 8:22 AM
    Hello all, I am new to Kotlin.. I have a rest API built on Javalin..I want to add a feature which takes customer details from DB and charges them fees on first of every month..but it shouldn't be a endpoint to be triggered by a cron job from someplace else..it should be internal to the app (should be in another thread, I guess since rest endpoints will be maintained by one thread??) How do I go about this?
    y
    a
    • 3
    • 4
  • a

    Alex Sinclair

    12/07/2020, 2:26 PM
    Hello, the Kotlin community! I have a question about Tomcat and Coroutines - specifically: is there benefits to be had? We made the switch to Kotlin over a year ago, and we've now Kotlin got about 11k lines of Kotlin, and only another 47k lines of Java to convert! I've loved learning the language, it's a real delight - but I've got a way to go yet, and I'd like to know more. So, is there a point to using Coroutines when Tomcat apparently spins up a thread per request? That is, if we go
    request->logic->db->logic->response
    , we could make that
    ->db->
    call asynchronous using coroutines, but... is there a benefit? In JS the
    async/await
    makes sense because of the single-threading and how it nicely replaces callbacks, but... if Tomcat pauses the thread (which I assume it does, I'm certainly no expert on anything I've said here) then coroutines wouldn't have much benefit, right? I appreciate any insights you have, including schooling me on my false assumptions and faulty reasonings 🤣
    j
    a
    j
    • 4
    • 4
  • a

    André Benda

    12/08/2020, 3:35 PM
    Hey folks, I’m working as a .Net developer and new to the kotlin/java ecosystem. After I made myself familiar with the language, Spring and the common package managers I like to now if there are any tools like MediatR or other “nugets” to help the developers with architectural housekeeping?
    a
    s
    +2
    • 5
    • 9
  • y

    Yev Kanivets

    12/11/2020, 6:05 AM
    Hey folks, I’m trying to use code from common KMP module in my Ktor backend module. It compiles and runs successfully, but IDEA highlights keep telling there are no such classes. Don’t you know how the issue can be fixed? I’m using
    Kotlin 1.4.0
    . (Sample project is attached).
    kotlin-multiplatform-template.zip
    j
    • 2
    • 6
  • t

    thana

    12/14/2020, 10:26 AM
    i already asked that in #general but think this channel might be better suited: I was thinking about replacing spring completely with ktor and other tools. As most things seem to be more or less easily replaceable i wasa wondering how to manage transactions in such a case. How do other people address this issue? While there are plenty examples of how to do programmatic transactions with r2dbc or exposed they all are very simplistic and only show how to use it in the data access layer. but of course we actually need to handle it on service layer so the transaction spans over multiple db queries. What tools are there to abstract the transaction handling?
    c
    v
    • 3
    • 4
  • n

    Nicodemus Ojwee

    12/16/2020, 9:15 AM
    Hello everyone. I am trying to load an HTML thymeleaf template from resources and pass data to it using coRouter {} in spring boot i don't see any example online. Has anyone done it yet? If so then help with a code snippet on how i can achieve this. I have seen an example of something similar to the above in java like below.
    @Bean
    public RouterFunction<ServerResponse> htmlRouter(
      @Value("classpath:/public/index.html") Resource html) {
        return route(GET("/"), request
          -> ok().contentType(MediaType.TEXT_HTML).syncBody(html)
        );
    }
    ✅ 1
    • 1
    • 1
  • m

    Michael Ortali

    12/17/2020, 10:39 PM
    👋 Do we have examples of generic decorators with kotlin? Is it even possible? I’m trying to achieve something similar to this in python:
    def decorate(fn):
       def wrapper(*args, **kwargs):
         print("Decorated")
         return fn(*args, **kwargs)
       return wrapper
    
    @decorate
    def method(prop1, prop2):
      return prop1 * prop2
    • 1
    • 2
  • q

    Qverkk

    12/18/2020, 12:26 PM
    Nvm, fixed it by lowering
    org.springframework.boot from 2.4.1 to 2.3.7.RELEASE
    And
    springCloudVersion from 2020.0.0-RC1 to Hoxton.SR9
    k
    • 2
    • 2
  • h

    HankG

    12/19/2020, 5:01 PM
    Is there a concise guide to deploying Kotlin full stack multiplatform to your own server? I see the installDist steps which seem to just be wrapping up the various libs...following ktor example with shade didn't host the Javascript part...any good references?
    b
    • 2
    • 30
  • c

    ck

    12/21/2020, 11:41 AM
    Hi, I hope this is the right place to ask - what is your go-to template for quickly building a standard REST API using Ktor? Are there any publicly available ones, are you re-using code from past projects or are you always starting from scratch? The reason is that I'm looking for something that has the most common use cases of REST APIs for mobile apps covered and can be extended. i.e.: built-in DB setup, User signup/login/authentication/password-reset, ... There are a lot of templates available in the PHP/NodeJS/Python/Ruby world but I haven't found anything good for server-side Kotlin yet.
    h
    • 2
    • 1
  • n

    nedaluOf

    12/23/2020, 8:37 AM
    Hi every one ✋, now i start to develope and convert my old backend stuff from asp.net to ktor , but one thing i missed about ktor , it is available to deploy the web app into any hosting service like histinger ... etc , because i dont find any information about this except deploy it to heroku and i dont need it "so expensive" , any information about it , many thanks in advance 😀.
    m
    • 2
    • 1
  • b

    Bo Zhang

    12/23/2020, 2:35 PM
    Hi! Anyone knows why Kotlin can’t invoke Java method with
    Function
    parameters?
    v
    m
    e
    • 4
    • 16
  • z

    Zdziszkee

    12/23/2020, 9:35 PM
    Does kotlin have framework/built in lib for creating tcp server
    a
    m
    b
    • 4
    • 7
  • s

    Stanislav Kral

    12/26/2020, 7:11 PM
    ktor question Hello, does anyone have experience with receiving invalid JSON objects using
    call.receive<T>()
    ? Currently my server returns
    500 Internal Server Error
    , I would like to return
    400 Bad Request
    in some general reusable fashion. I can't seem to find any resources regarding this topic, Thanks!
    s
    c
    l
    • 4
    • 4
  • p

    Poohrang

    12/28/2020, 3:14 AM
    Hey guys, I have a server for shopping mall. and I've created a database and some tables. When user presses like button in client side, Ktor server will increase by one interestCnt with SQL update query. But when I was trying to inrecase value of table, it doesn't work as below. (attached image1)
    transaction {
        UsedItems.update({
            (UsedItems.e_mail eq receive.userEmail).and(UsedItems.id eq receive.usedItemId)}) {
            it[interestCnt] = interestCnt + 1 // occurs error
        }
    }
    interestCnt value had defined in UsedItems table as below (attached image2)
    val interestCnt : Column<Int> = integer("interest_cnt").default(0)
    When I tried to put just value(not increasing), It works properly (attached image3)
    transaction {
        UsedItems.update({
            (UsedItems.e_mail eq receive.userEmail).and(UsedItems.id eq receive.usedItemId)}) {
            it[interestCnt] = 1
        }
    }
    I reffered the following code in exposed github documentation. If you want to update column value with some expression like increment use 
    update
     function or setter:
    StarWarsFilms.update({ StarWarsFilms.sequelId eq 8 }) {
        with(SqlExpressionBuilder) {
           it.update(StarWarsFilms.sequelId, StarWarsFilms.sequelId + 1)
           // or 
           it[StarWarsFilms.sequelId] = StarWarsFilms.sequelId + 1
        }
    }
    My expectation is to be worked like sample code. but not Is there any idea to solve this problem? Thanks in advance.
    d
    • 2
    • 10
  • t

    teremy

    12/29/2020, 2:06 PM
    Hi. How can I generate a unique sessionID? I want users to login via username and password and then generate a sessionID that is saved in database and in a cookie.
    y
    m
    r
    • 4
    • 6
  • m

    Maciej Jelen

    12/29/2020, 3:11 PM
    Hi, is there any possibility to make a restriction on generic interface, that the type parameter which we are passing is a sub-class of the class that implements the interface? Like in the screens, but when i would move class
    UserPasswordChangedEventData
    , or make it non-data class, the code would not compile
    v
    • 2
    • 3
  • q

    Qverkk

    01/03/2021, 4:09 PM
    Hi, has anyone tried to make a docker-compose file for starting a config server, discovery server and an zuul api gateway? Cause i'm having trouble finding a compatible jre 11 docker image version to run
    wait-for
    and delay untill a certain service is started, before starting a new one. Thus, anyone knows a jre 11 docker image supporting
    wait-for
    ?
    • 1
    • 1
Powered by Linen
Title
q

Qverkk

01/03/2021, 4:09 PM
Hi, has anyone tried to make a docker-compose file for starting a config server, discovery server and an zuul api gateway? Cause i'm having trouble finding a compatible jre 11 docker image version to run
wait-for
and delay untill a certain service is started, before starting a new one. Thus, anyone knows a jre 11 docker image supporting
wait-for
?
Fixed with:
Untitled
View count: 7