Skip to content
Some example code of using Akka from Java
Java ApacheConf
Branch: master
Clone or download
Latest commit 8dedf48 Mar 14, 2015
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src using a BalancingDispatcher with the Router to have a single mailbox … Oct 14, 2013
.gitignore switched to gradle for building the application Aug 17, 2012
.travis.yml added travis build information Oct 12, 2013
LICENSE.txt added Apache license file Mar 14, 2015
README.md added information on supervision Oct 12, 2013
build.gradle
nb-configuration.xml Revert "Merge pull request #1 from seralf/scala-version" Jan 11, 2013

README.md

Simple Producer Consumer example for Akka in Java

This repository contains 3 examples of a simple web crawler:

  • A sequential example
  • An example where the logic is split in 3 Actors
  • An example where the retrieval of the pages is handled by multiple Actors in parallel.
  • An example where retrieval fails and the application hangs
  • A supervised example where failing messages are resend

To start the sequential execution run gradle runSequential

To start the simple actor execution run gradle runActors

To start the parallel page fetching run gradle runParallelActors

To start the failing or supervised examples run gradle runFA or gradle runSA

The code is only meant as an example on how to implement a producer consumer example in Akka. More information:

Please don't use the crawler as it is on sites where you didn't contact the site owner

You can’t perform that action at this time.