Sha256: 866f6cfd1016ccd42ca5dbbba0cddf199bbe963decf12226bdd0be5fcc54ab50
Contents?: true
Size: 1.16 KB
Versions: 9
Compression:
Stored size: 1.16 KB
Contents
# encoding: utf-8 # #Copyright 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved. # #Licensed under the Apache License, Version 2.0 (the "License"); #you may not use this file except in compliance with the License. #You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # #Unless required by applicable law or agreed to in writing, software #distributed under the License is distributed on an "AS IS" BASIS, #WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #See the License for the specific language governing permissions and #limitations under the License. # require 'java' require_relative "LogStashRecordProcessor" require "logstash-input-dynamodb_jars" module KCL include_package "com.amazonaws.services.kinesis.clientlibrary.interfaces" end module Logstash module Inputs module DynamoDB class LogStashRecordProcessorFactory include KCL::IRecordProcessorFactory def initialize(queue) @queue ||= queue end def create_processor return Logstash::Inputs::DynamoDB::LogStashRecordProcessor.new(@queue) end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems