-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix data sending to Kafka REST proxy
- Loading branch information
1 parent
3de88b5
commit 2b6c3e8
Showing
6 changed files
with
34 additions
and
23 deletions.
There are no files selected for viewing
6 changes: 4 additions & 2 deletions
6
radar-commons/src/main/java/org/radarbase/producer/io/FunctionalWriteChannelContent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 3 additions & 2 deletions
5
radar-commons/src/main/java/org/radarbase/producer/rest/AvroRecordContent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
package org.radarbase.producer.rest | ||
|
||
import io.ktor.http.content.* | ||
import io.ktor.http.ContentType | ||
import io.ktor.http.content.OutgoingContent | ||
|
||
interface AvroRecordContent { | ||
fun createContent(): OutgoingContent | ||
fun createContent(contentType: ContentType): OutgoingContent | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters