Information for: DEVELOPERS   PARTNERS

Content Hub

Content Hub is a cloud-based, centralized content distribution and syndication solution enabling highly-performant, scalable syndication of Drupal content and configuration. Using Content Hub, organizations can publish, reuse, and syndicate content across a variety of content sources and publishing channels. You can also use Drupal’s in-built multilingual capabilities to avoid content duplication.

QUICK LINKS 2.x: Install | Subscribe | Publish | Known issues
QUICK LINKS 1.x: Install | Share | Discover | Known issues

How Content Hub works

Content Hub creates a content interchange workflow between the different websites in your content network. Each of the websites in your content network owns the content it creates—content that can be shared with any other website in the network. Communication among the websites occurs through the Content Hub service using cloud-based rules for how and when content gets shared between different members of the content network.

Content Hub enables automated subscription updates from content authors to content consumers in near real time through the use of Drupal queues. Publishers create content on their websites as expected. If a new content item is one of the entity types getting shared, then it (and any necessary dependencies) becomes available to subscriber websites to import. Filters can be created at a fleet-level and specify which subscribers should receive which content.

Content Hub architecture

A website in a Content Hub network can act as a publisher for some content and a subscriber for some other content. The original publisher of a content entity controls the definitive content of the entity, and any changes made by a subscriber website that imported the content entity aren’t contributed back into the Content Hub.

The main elements provided by Content Hub are as follows:

Element Description
Content Hub A central content repository hosted and managed by Acquia. Using a central hub for your content enables full-text and faceted search across all the available content.
Content Hub client A set of Drupal modules that manage communication with the Content Hub and help you manage how content is published and consumed. The Content Hub client gets installed on each website in the content network that wants to publish or subscribe to content, or both.
Content Hub API A set of open RESTful APIs you can use to interact directly with content inside or outside Drupal websites.
Content Hub SDK for PHP A software development kit (SDK) for the Content Hub API.

The differences between Content Hub 1.x and Content Hub 2.x include (but aren’t limited to):

2.x Feature 1.x Equivalent
Dependency Calculation is the foundation of Content Hub 2.x. Every syndicated entity goes through dependency calculation and if a content or configuration dependency doesn’t exist on a subscribing website, the dependency is created. Content Hub 1.x syndicates only content dependencies. Configuration entities such as content types, fields or contrib-module dependencies such as paragraphs, you must create manually.
Every entity is syndicated using Drupal queues. Syndication can happen at the moment entities are created. This leads to inefficiencies at scale, requiring the use of queues.
Content Hub 2.x is built on a modern, plugin-based architecture. This allows easy developer modification for data tampering and modification of the syndication process without changing the base plugin. Content Hub 1.x was written for Drupal 7 originally.

Getting started with Content Hub

The following documentation pages contain information you can use to install and use Content Hub with your websites:

Learn more by visiting the Acquia Academy (sign-in required) for the video Content Hub Getting Started Tutorial.