anchor.diff:  
   -behaviour(supervisor).
   
  +-include("ddbpg_autopublisher.hrl").
  +
   %% API
   -export([start_link/0]).
   
  
positive.code: -export([init/1]).
  
  -define(SERVER, ?MODULE).
  
  %%%===================================================================
  %%% API functions
  
negative.code: 
      SupFlags = {RestartStrategy, MaxRestarts, MaxSecondsBetweenRestarts},
  
      {ok, DdbConfig} = application:get_env(?CORE_APPLICATION_NAME, ddbconfig),
      NumWorkers = length(proplists:get_value(buckets, DdbConfig)),
      Specs = [?CHILD(ddb2pgidx_server, proplists:get_value(name, lists:nth(Index, proplists:get_value(buckets, DdbConfig))), Index, worker) || Index <- lists:seq(1, NumWorkers)],
      {ok, { SupFlags, Specs} }.
  
  %%%===================================================================
  %%% Internal functions
  