Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions R/appender.R
Original file line number Diff line number Diff line change
Expand Up @@ -184,3 +184,15 @@ appender.graylog <- function(server, port, debug = FALSE) {
if (debug) print(ret)
}
}

appender.kinesis_handler <- function(stream,region_name,partition_key)
{

function(line) {
library(AWR.Kinesis)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

requireNamespace might be more appropriate here? And maybe adding to Suggests in the DESCRIPTION file.

AWR.Kinesis::kinesis_put_record(stream,region = region_name,line,partition_key)


}
}