POE-Component-ElasticSearch-Indexer

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

            "Module::Load" : "0",
            "Module::Loaded" : "0",
            "POE" : "0",
            "POE::Component::Client::HTTP" : "0",
            "POE::Component::Client::Keepalive" : "0",
            "POE::Component::SSLify" : "0",
            "POE::Wheel::FollowTail" : "0",
            "POSIX" : "0",
            "Path::Tiny" : "0",
            "Pod::Usage" : "0",
            "Ref::Util" : "0",
            "Time::HiRes" : "0",
            "URI" : "0",
            "YAML" : "0",
            "perl" : "5.010001",
            "strict" : "0",
            "version" : "0",
            "warnings" : "0"
         },
         "suggests" : {
            "Log::Dispatch::FileRotate" : "0"

META.yml  view on Meta::CPAN

  Module::Load: '0'
  Module::Loaded: '0'
  POE: '0'
  POE::Component::Client::HTTP: '0'
  POE::Component::Client::Keepalive: '0'
  POE::Component::SSLify: '0'
  POE::Wheel::FollowTail: '0'
  POSIX: '0'
  Path::Tiny: '0'
  Pod::Usage: '0'
  Ref::Util: '0'
  Time::HiRes: '0'
  URI: '0'
  YAML: '0'
  perl: '5.010001'
  strict: '0'
  version: '0'
  warnings: '0'
resources:
  bugtracker: https://github.com/reyjrar/POE-Component-ElasticSearch-Indexer/issues
  homepage: https://github.com/reyjrar/POE-Component-ElasticSearch-Indexer

Makefile.PL  view on Meta::CPAN

    "Module::Load" => 0,
    "Module::Loaded" => 0,
    "POE" => 0,
    "POE::Component::Client::HTTP" => 0,
    "POE::Component::Client::Keepalive" => 0,
    "POE::Component::SSLify" => 0,
    "POE::Wheel::FollowTail" => 0,
    "POSIX" => 0,
    "Path::Tiny" => 0,
    "Pod::Usage" => 0,
    "Ref::Util" => 0,
    "Time::HiRes" => 0,
    "URI" => 0,
    "YAML" => 0,
    "strict" => 0,
    "version" => 0,
    "warnings" => 0
  },
  "TEST_REQUIRES" => {
    "File::Spec" => 0,
    "File::Temp" => 0,

Makefile.PL  view on Meta::CPAN

  "Module::Loaded" => 0,
  "POE" => 0,
  "POE::Component::Client::HTTP" => 0,
  "POE::Component::Client::Keepalive" => 0,
  "POE::Component::SSLify" => 0,
  "POE::Wheel::FollowTail" => 0,
  "POSIX" => 0,
  "Path::Tiny" => 0,
  "Pod::Coverage::TrustPod" => 0,
  "Pod::Usage" => 0,
  "Ref::Util" => 0,
  "Test::More" => 0,
  "Test::Perl::Critic" => 0,
  "Time::HiRes" => 0,
  "URI" => 0,
  "YAML" => 0,
  "strict" => 0,
  "version" => 0,
  "warnings" => 0
);

bin/file-to-elasticsearch.pl  view on Meta::CPAN

use strict;
use warnings;

use Getopt::Long::Descriptive qw(describe_options);
use Hash::Merge::Simple qw(merge);
use JSON::MaybeXS qw(decode_json encode_json);
use Log::Log4perl qw(:easy);
use Module::Load qw(load);
use Module::Loaded qw(is_loaded);
use Pod::Usage;
use Ref::Util qw(is_arrayref is_hashref);
use YAML ();

sub POE::Kernel::ASSERT_DEFAULT { 1 }
use POE qw(
    Component::ElasticSearch::Indexer
    Wheel::FollowTail
);

my %DEFAULT = (
    config => '/etc/file-to-elasticsearch.yaml',

lib/POE/Component/ElasticSearch/Indexer.pm  view on Meta::CPAN

use Const::Fast;
use Digest::MD5 qw(md5_hex);
use Digest::SHA1 qw(sha1_hex);
use Fcntl qw(:flock);
use HTTP::Request;
use JSON::MaybeXS;
use List::Util qw(shuffle);
use Log::Log4perl qw(:easy);
use Path::Tiny;
use POSIX qw(strftime);
use Ref::Util qw(is_ref is_arrayref is_blessed_ref is_hashref is_coderef);
use Time::HiRes qw(time);
use URI;

use POE qw(
    Component::SSLify
    Component::Client::HTTP
    Component::Client::Keepalive
);




( run in 0.260 second using v1.01-cache-2.11-cpan-a5abf4f5562 )