<h1 dir="auto">Checklist</h1>

<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/issues?utf8=%E2%9C%93&amp;q=is%3Aissue+label%3A%22Category%3A+Documentation%22+">issues list</a><br>
for similar or identical bug reports.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/pulls?q=is%3Apr+label%3A%22Category%3A+Documentation%22">pull requests list</a><br>
for existing proposed fixes.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/commits/master">commit log</a><br>
to find out if the bug was already fixed in the master branch.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included all related issues and possible duplicate issues in this issue<br>
(If there are none, check this box anyway).</li>
</ul>
<h2 dir="auto">Related Issues and Possible Duplicates</h2>

<h4 dir="auto">Related Issues</h4>
<ul dir="auto">
<li>None</li>
</ul>
<h4 dir="auto">Possible Duplicates</h4>
<ul dir="auto">
<li>None</li>
</ul>
<h1 dir="auto">Description</h1>

<p dir="auto">The existing documentation does not show the option to send some tasks ids</p>
<h1 dir="auto">Suggestions</h1>

<p dir="auto">Update the document</p>
<h1 dir="auto">Checklist</h1>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/issues?utf8=%E2%9C%93&amp;q=is%3Aissue+label%3A%22Category%3A+Documentation%22+">issues list</a><br>
for similar or identical bug reports.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/pulls?q=is%3Apr+label%3A%22Category%3A+Documentation%22">pull requests list</a><br>
for existing proposed fixes.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/commits/master">commit log</a><br>
to find out if the bug was already fixed in the master branch.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included all related issues and possible duplicate issues in this issue<br>
(If there are none, check this box anyway).</li>
</ul>
<h1 dir="auto">Description</h1>
<p dir="auto">I was trying to add "task_annotations" to my celery configuration, I read the docs:<br>
<a href="https://docs.celeryproject.org/en/latest/userguide/configuration.html#task-annotations" rel="nofollow">https://docs.celeryproject.org/en/latest/userguide/configuration.html#task-annotations</a><br>
And in the list above, saw CELERY_TASK_ANNOTATIONS. I used that and realized after a while that it didn't work.</p>
<p dir="auto">After a while of debugging CELERY_ANNOTATIONS worked.</p>
<h1 dir="auto">Suggestions</h1>
<p dir="auto">While debugging, I saw that in:<br>
</p><div class="Box Box--condensed my-2">
  <div class="Box-header f6">
    <p class="mb-0 text-bold">
      <a href="https://github.com/celery/celery/blob/240ef1f64c8340bfffc31359f842ea4a6c8c493a/celery/app/defaults.py#L250">celery/celery/app/defaults.py</a>
    </p>
    <p class="mb-0 color-fg-muted">
         Line 250
      in
      <a data-pjax="true" class="commit-tease-sha" href="/celery/celery/commit/240ef1f64c8340bfffc31359f842ea4a6c8c493a">240ef1f</a>
    </p>
  </div>
  <div itemprop="text" class="Box-body p-0 blob-wrapper blob-wrapper-embedded data">
    <table class="highlight tab-size mb-0 js-file-line-container" data-tab-size="8" data-paste-markdown-skip="">

        <tbody><tr class="border-0">
          <td id="L250" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="250"></td>
          <td id="LC250" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">__old__</span><span class="pl-c1">=</span><span class="pl-v">OLD_NS</span>, </td>
        </tr>
    </tbody></table>
  </div>
</div>
<br>
The value for <code class="notranslate">__old__</code> is <code class="notranslate">celery_{}</code> and not <code class="notranslate">celery_task_{}</code><p></p>
<p dir="auto">I'm assuming this issue is there for a bunch of the other configs like <code class="notranslate">acks_late</code> and <code class="notranslate">always_eager</code> and others too probably.<br>
The docs seem to say use CELERY_TASK, but looks like the namespace in the code is CELERY_</p>
<p dir="auto">In the task configs, I seem to only use CELERY_TASK_SERIALIZER, and here I can see that the value for <code class="notranslate">old</code> is explicitly set and so it works:<br>
</p><div class="Box Box--condensed my-2">
  <div class="Box-header f6">
    <p class="mb-0 text-bold">
      <a href="https://github.com/celery/celery/blob/240ef1f64c8340bfffc31359f842ea4a6c8c493a/celery/app/defaults.py#L289">celery/celery/app/defaults.py</a>
    </p>
    <p class="mb-0 color-fg-muted">
         Line 289
      in
      <a data-pjax="true" class="commit-tease-sha" href="/celery/celery/commit/240ef1f64c8340bfffc31359f842ea4a6c8c493a">240ef1f</a>
    </p>
  </div>
  <div itemprop="text" class="Box-body p-0 blob-wrapper blob-wrapper-embedded data">
    <table class="highlight tab-size mb-0 js-file-line-container" data-tab-size="8" data-paste-markdown-skip="">

        <tbody><tr class="border-0">
          <td id="L289" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="289"></td>
          <td id="LC289" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">serializer</span><span class="pl-c1">=</span><span class="pl-v">Option</span>(<span class="pl-s">'json'</span>, <span class="pl-s1">old</span><span class="pl-c1">=</span>{<span class="pl-s">'celery_task_serializer'</span>}), </td>
        </tr>
    </tbody></table>
  </div>
</div>
<p></p>